Glenn Maynard
20dba34aad
fix output
2007-05-07 21:29:33 +00:00
Steve Checkoway
777e89c0a7
Pointers to member functions requires &.
2007-04-24 08:39:08 +00:00
Chris Danford
79fd5b35fd
don't use macros with variable number of arguments - no version of VC supports it
...
use existing WARN macro which falls back to printf if LOG isn't yet constructed
2007-04-24 05:24:14 +00:00
Steve Checkoway
dfd5bda05e
Don't spew userlog to stdout.
2007-03-23 10:59:07 +00:00
Steve Checkoway
e3e5cf77e5
Don't include Foreach.h in RageUtil.h which does not use it. Instead, include it in the individual files that actually use it.
2006-11-01 11:18:46 +00:00
Glenn Maynard
080e51a2c4
cleanup
2006-09-28 01:27:12 +00:00
Glenn Maynard
a0bd9e36e1
simplify
2006-09-28 01:26:27 +00:00
Steve Checkoway
b1a6f94d69
This was breaking encapsulation. The api is more or less the same. The only purpose for breaking the error message apart like that is it allows a consistent look to the messages. (Other files coming soon.)
2006-09-24 03:56:04 +00:00
Steve Checkoway
79446f6ef5
Theme element and theme metric.
2006-09-17 01:13:40 +00:00
Steve Checkoway
dae47979ea
Change the UserLog() to output a more consistent message.
2006-09-04 08:09:05 +00:00
Steve Checkoway
808c8019d6
Simplify.
2006-09-03 05:24:24 +00:00
Steve Checkoway
9954228e17
Cleanup.
2006-09-03 05:19:46 +00:00
Steve Checkoway
c6eb78a3cf
Add a file for user warnings, userlog.txt. Until now, these types of warnings have either been cluttering info.txt or buried in log.txt where no sane user would want to look.
2006-09-03 05:14:18 +00:00
Steve Checkoway
fe7a3e8127
Do not remove these files. It is not even always the same location that they'd be written.
2006-09-03 03:48:56 +00:00
Steve Checkoway
d47dd07956
Cleanup. HOOKS isn't used.
2006-09-03 03:45:05 +00:00
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