From: <sv...@ww...> - 2004-06-27 07:36:01
|
Author: mkrose Date: 2004-06-27 00:35:54 -0700 (Sun, 27 Jun 2004) New Revision: 1073 Added: trunk/CSP/SimData/Include/SimData/ThreadLog.h Modified: trunk/CSP/CSPSim/Bin/CSPSim.py trunk/CSP/CSPSim/CHANGES.current trunk/CSP/CSPSim/Include/Log.h trunk/CSP/CSPSim/Source/CSPSim.cpp trunk/CSP/CSPSim/Source/Exception.cpp trunk/CSP/CSPSim/Source/ServerNode.cpp trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/ExceptionBase.h trunk/CSP/SimData/Include/SimData/Log.h trunk/CSP/SimData/Include/SimData/Log.i trunk/CSP/SimData/Include/SimData/LogStream.h trunk/CSP/SimData/Include/SimData/Ref.h trunk/CSP/SimData/Include/SimData/Thread.h trunk/CSP/SimData/Include/SimData/ThreadBase.h trunk/CSP/SimData/Include/SimData/Trace.h trunk/CSP/SimData/Source/BaseType.cpp trunk/CSP/SimData/Source/ExceptionBase.cpp trunk/CSP/SimData/Source/InterfaceRegistry.cpp trunk/CSP/SimData/Source/LogStream.cpp trunk/CSP/SimData/Source/Makefile trunk/CSP/SimData/Source/SConscript trunk/CSP/SimData/setup.py Log: SimData: - Major overhaul of the logging system. Added threadsafe logging. Added (optional) timestamps and source file/line. Priority value now logged as first character. Environment variables SIMDATA_LOGFILE and SIMDATA_LOGPRIORITY override the default values of stderr and 0 (BULK). - Several bug fixes in the thread code, and much better handling of error codes. Split larger functions out of ThreadBase.h into ThreadBase.cpp. - Enhanced the exception classes to record stack traces (linux only for now). Additional convenience methods for logging and outputing to streams. - Improved the traceback generation under linux. Tracebacks can be decoded with the tools/trace program. CSPSim: - Fixes for changes in the SimData api (logging and exceptions). Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1073 Diff omitted (68630 bytes). |