Steve Checkoway
ad3fcd9f0c
Cleanup.
2006-08-09 22:11:35 +00:00
Glenn Maynard
dfdf04e1c0
Move logs into a subdirectory, so they're easier to relocate with mods.
2006-03-28 02:13:08 +00:00
Steve Checkoway
1b0c19d442
Copy code from RageThreads.cpp.
2006-03-18 09:22:56 +00:00
Glenn Maynard
62a0ac1370
spacing
2006-02-14 11:16:39 +00:00
Glenn Maynard
30427807f6
Fix line ending glitches in crashinfo.txt due to changes in how it's written.
2006-02-11 03:12:17 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
1ffa9da02e
cleanup
2005-12-11 07:08:33 +00:00
Glenn Maynard
c4aa5b70df
cleanup
2005-11-29 02:20:28 +00:00
Glenn Maynard
6aa187a695
cleanup
2005-09-03 20:57:58 +00:00
Glenn Maynard
2de326fb23
ASSERT is too assertive. If it's probably possible to continue past
...
an unexpected case, it's better to warn loudly and then move on, instead
of crashing.
2005-04-29 20:15:12 +00:00
Ben Anderson
0db665d4d6
Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory.
2005-03-14 06:44:38 +00:00
Glenn Maynard
7c34878efc
fix gradual "leaking" of memory, as all info output is stored in staticlog even after the static buffer was full
2004-07-13 21:02:28 +00:00
Glenn Maynard
049b31ce46
Always timestamp log.txt.
2004-05-21 22:34:56 +00:00
Glenn Maynard
f9f10e2372
more license updates
2004-05-06 02:40:33 +00:00
Glenn Maynard
7135f8cc1d
extend log timestamps to three decimal places
2004-04-06 23:21:27 +00:00
Steve Checkoway
20a8bab45c
Clean up includes.
2004-04-05 05:22:32 +00:00
Glenn Maynard
e779e80350
give RageMutexes names, so they can be identified more easily
2004-03-21 04:10:43 +00:00
Glenn Maynard
62d1a344f2
fix mapped logs not being timestamped
2004-03-13 10:28:12 +00:00
Glenn Maynard
d3c0228a5d
better log control for test set
2004-03-04 04:27:55 +00:00
Glenn Maynard
b92296b1c9
fix m_bLogToDisk
2004-02-27 01:05:30 +00:00
Glenn Maynard
56654496ef
name cleanup
...
"foo() ;" cleanup (itchy spacebar?)
2004-02-27 00:56:51 +00:00
Glenn Maynard
1208c42c4d
use localtime_r
...
fix off-by-one errors in time output
2004-02-22 23:39:11 +00:00
Chris Danford
6154c14f86
add calorie tracking
...
clean up time formatting functions
2004-02-22 19:51:46 +00:00
Glenn Maynard
137a41efce
fix output
2004-02-11 20:14:30 +00:00
Glenn Maynard
114f9fe5ba
cleanup
2004-02-05 21:28:43 +00:00
Glenn Maynard
b899848309
can't have global RageFile's, since they'll be destructed after RageFileManager
2004-02-05 20:57:13 +00:00
Glenn Maynard
eccaf9d775
fix uninitialized variable
2004-01-21 01:51:38 +00:00
Manu Evans
ce888de237
fixed some xbox build errors :/
2004-01-17 05:21:24 +00:00
Glenn Maynard
bb2d24bb49
hopefully fix a couple rare buffering problems: lock accesses to log files
2004-01-15 00:50:17 +00:00
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