| CRM64Pro GDK v0.15.0 A free cross-platform game development kit built on top of SDL 3.0

Loading...
Searching...
No Matches
CRM64Pro::Log
Core modules » Log

Log Object class. More...

## Detailed Description

Log Object class.

## Public Member Functions
bool | info (Sint32 iMode=0) override
| Request Log object information.
const string & | getName () const override
| Get the name.
Uint32 | getID () const override
| Get the ID.
bool | init (const string &sAppname, eLogLevel eLL, eLogMode eLM, const string &sFilename="", const string &sAuthor="", const string &sEmail="", const string &sWeb="")
| Initialize the log object.
bool | pause ()
| Disable log output temporarily.
bool | resume ()
| Enable log output.
eGeneralStatus | status () const
| Get log status.
bool | msg (eLogLevel eLL, const char *szFmt,...)
| Write a message to the log.
eLogLevel | getLogLevel ()
| Get log detail level.
eLogMode | getLogMode () const
| Get log mode.
Sint32 | setLogMode (eLogMode eLM, const string &sFilename="")
| Set log mode.
const string & | getFilename () const
| Get log filename.
bool | setTimeStamp (bool bEnabled)
| Enable/disable timestamp in log messages.
bool | getTimeStamp () const
| Get timestamp status.
bool | pushIndent (Sint32 iSpaces=2)
| Push a new indentation level onto the stack.
bool | popIndent ()
| Pop the most recent indentation level from the stack.
bool | resetIndent ()
| Reset all indentation to zero.
Sint32 | getIndent () const
| Get the current total indentation level.
bool | setPrefix (const char *szPrefix)
| Set a prefix character to be printed before each message.
bool | clearPrefix ()
| Clear the prefix character.