glogging
|
The GLogger module is responsible for handling structured logging in the simulation. It supports various log levels (debug, info, warning, error, and critical) with configurable verbosity and debug settings. Log messages are prepended with a header that includes a unique counter to help trace message order in multi-threaded environments.
Instantiate a GLogger with a pointer to a GOptions object and a string identifier. Then call the member functions (debug, info, warning, error, critical) to log messages. The error function terminates the process.