Glenn Maynard
30fe19a838
simplify
2003-12-29 23:45:38 +00:00
Glenn Maynard
ed1821eab7
remove obsolete HOOKS->Log
2003-12-29 23:40:57 +00:00
Glenn Maynard
0ae51ca247
cleanup
2003-12-29 23:37:55 +00:00
Glenn Maynard
d558f53c5d
Remove extra compiled-on stamp.
...
Don't use __TIMESTAMP__; that gives the last compile time of
RageLog.cpp, not the last build time.
Put the current time in info, instead of trace, so we can compare
times when we receive more than one log, to make sure they really
match up (we occasionally get crashinfo.txt from a previous crash,
in which case only info.txt and log.txt are relevant).
2003-12-29 22:07:39 +00:00
Glenn Maynard
20792a51bb
Write files in such a way that a program crash, system crash, powerdown,
...
etc. won't cause data loss if we're running on a journalling filesystem.
2003-12-21 07:23:29 +00:00
Glenn Maynard
7efce0c8bb
missing header
2003-12-21 02:20:01 +00:00
Glenn Maynard
2d01ba7d00
better output
2003-12-19 08:09:58 +00:00
Glenn Maynard
e67a108759
handle multi-line logs
2003-12-19 00:53:45 +00:00
Steve Checkoway
f27d98fd9c
Fix paths for Mac OS X.
2003-12-12 08:43:45 +00:00
Glenn Maynard
0d0b0d3f12
try using RageFile for logging
2003-12-12 08:22:03 +00:00
Glenn Maynard
f063c76799
move log files from the header to local globals
2003-12-12 07:29:54 +00:00
Glenn Maynard
2e4fc20919
SYS_BASE_PATH
2003-12-07 04:18:38 +00:00
Steve Checkoway
63b954ae22
Fix log.txt and info.txt paths on OS X
2003-12-07 02:29:39 +00:00
Glenn Maynard
51401ea747
cleanup
2003-12-04 04:19:14 +00:00
Glenn Maynard
3cbe471e24
fix weird newliesn at the end of info.txt
2003-12-03 02:49:54 +00:00
Chris Danford
72a66645da
I believe localtime returns NULL on XBox when system clock is not set
2003-12-02 02:55:14 +00:00
Glenn Maynard
f8eb93d95f
remove Checkpoint
2003-11-23 23:50:02 +00:00
Glenn Maynard
b72d42361a
add headers
2003-11-14 17:17:36 +00:00
Glenn Maynard
cfbd136989
ShowLogWindow -> ShowLogOutput, now also affects stdout output
...
in *nix
(unimplemented, possibly temporary TexturePreload tags along to avoid
more recompiling ...)
2003-10-19 07:30:06 +00:00
Glenn Maynard
d26b22eb8f
eliminate RageLog prefsman use
2003-10-02 03:13:51 +00:00
Glenn Maynard
81c4f0b9e9
reduce RageLog prefsman use
2003-10-02 03:11:35 +00:00
Glenn Maynard
fa702635c1
Remove HOOKS->AdditionalLog.
...
Make LOG work without HOOKS being set up.
2003-10-02 01:09:15 +00:00
Steve Checkoway
59c5db4558
Quiet warnings.
2003-09-22 09:26:36 +00:00
Chris Danford
eeb65c8a54
clean up formatting
2003-09-07 08:27:38 +00:00
Glenn Maynard
4ab3924122
comment
2003-09-06 06:49:01 +00:00
Glenn Maynard
8407c758b1
Use \n newlines in Darwin, too, not \r.
2003-09-05 07:36:40 +00:00
Glenn Maynard
400c99f8dc
fix partial log output bug
2003-08-19 02:19:17 +00:00
Glenn Maynard
ea628ea706
Don't send newlines to LOG.
2003-08-13 04:52:41 +00:00
Chris Danford
35950c4eaf
Add prefs for logging. Don't throw if can't open log file. Remove Ragefopen and Rageifstream (they aren't needed).
2003-08-13 04:40:23 +00:00
Chris Danford
cd9fbf25f2
better logging
2003-08-12 06:50:42 +00:00
Glenn Maynard
91057359fa
add error checking
2003-08-05 01:28:48 +00:00
Steve Checkoway
1e5b735bcd
Use HAVE_VERSION_INFO so that multiple archs can take advantage of a build number and date
2003-08-02 12:51:25 +00:00
Steve Checkoway
8c6ba0f506
Fix compile warnings
2003-08-01 12:12:02 +00:00
Glenn Maynard
49bb0233c6
pointer casts are evil
2003-07-24 20:14:11 +00:00
Glenn Maynard
f627645bba
simplify
2003-07-24 20:10:17 +00:00
Glenn Maynard
09fbfe4d21
Simplify. Move all crash log handling to RageLog.
2003-07-23 22:50:25 +00:00
Glenn Maynard
9ef2f59eed
Fix up mapped logs.
2003-07-23 21:45:48 +00:00
Glenn Maynard
5eb21182ac
Fix up mapped logs.
2003-07-23 21:41:35 +00:00
Sean Burke
910634efca
Get rid of unused if conditions to make RageLog compile again.
2003-07-22 08:08:13 +00:00
Chris Danford
fe0cba9f78
runs on Xbox
2003-07-22 07:56:46 +00:00
Glenn Maynard
fdd00f5dd4
add GetAdditionalLog
2003-07-22 05:05:39 +00:00
Glenn Maynard
535ff46e9b
flush when PREFSMAN->m_bDebugMode
2003-07-20 04:38:31 +00:00
Chris Danford
8158ca8770
compiles on Xbox (still a CRT linking error though)
2003-07-11 03:15:28 +00:00
Chris Danford
73e1e30ac3
#if defined(WIN32) || !defined(_XBOX) -> && !defined(_XBOX)
2003-05-29 00:15:11 +00:00
Glenn Maynard
44ecb31171
save mapped logs to log.txt once
2003-05-27 00:49:05 +00:00
Chris Danford
02016ae442
Reorganize RageDisplay
...
Add Direct3D renderer (separate project configuration)
Add Xbox project config (doesn't yet compile)
2003-05-22 05:28:37 +00:00
Glenn Maynard
241284161c
don't pass non-POD objects to va_start
2003-04-27 21:55:31 +00:00
Glenn Maynard
fe33dec385
Partial s/GetString/c_str/.
...
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:01:35 +00:00
Glenn Maynard
a97df9c0de
add Checkpoint
2003-04-22 05:53:18 +00:00
Glenn Maynard
c3d1b78d15
add mapped logs
2003-04-22 05:21:25 +00:00