CAST II Game Engine |
||||||||
![]() |
MAIN | FEATURES | SCREENSHOTS | FORUMS | MANUAL | DOWNLOADS | CONTACTS | |
type TLogSession = class
| Name | Description | |
|---|---|---|
![]() | StartedMs | Startup timestamp in milliseconds |
![]() | TimeFormat | Determines which date or time to include in the log |
![]() | constructor Init(const FileName: string; ATimeFormat: TLogTimeFormat; ALevels: TLogLevels); virtual; |
![]() | destructor Shutdown; virtual; |
![]() | procedure AppendLog(const Desc: string; Level: TLogLevel = lkInfo); virtual; |
![]() | procedure Log(const Desc: string; Level: TLogLevel = lkInfo); |
![]() | constructor Init(const FileName: string; ATimeFormat: TLogTimeFormat; ALevels: TLogLevels); virtual; |
Initializes a log session with the specified log file name, time and level settings
![]() | destructor Shutdown; virtual; |
Destructor
![]() | procedure AppendLog(const Desc: string; Level: TLogLevel = lkInfo); virtual; |
Appends a string to log. Thread-safe if MULTITHREADLOG defined
![]() | procedure Log(const Desc: string; Level: TLogLevel = lkInfo); |
Logs a string Desc if Level matches current logging level (see LogLevels)
![]() | property LogLevels: TLogLevels; |
![]() | property LogLevels: TLogLevels; |
Set of levels which to include in the log
|
Last modified: 26 Oct, 2008 |