|
Level | getLevel () |
| Return the current logging level.
|
|
void | setLevel (Level lvl) |
| Set the logging level. (Lower-level messages will be suppressed.)
|
|
void | setLevel (int &argc, char *argv[]) |
| If "-debug", "-info", "-warn", "-error" or "-fatal" is found in the given array of command-line arguments, set the logging level appropriately and remove the relevant argument(s) from the array.
|
|
void | setProgramName (const std::string &progName, bool useColor=true) |
| Specify a program name to be displayed in log messages.
|
|
void | initialize (bool useColor=true) |
| Initialize the logging system if it is not already initialized.
|
|
void | initialize (int &argc, char *argv[], bool useColor=true) |
| Initialize the logging system from command-line arguments.
|
|
void initialize |
( |
int & | argc, |
|
|
char * | argv[], |
|
|
bool | useColor = true ) |
|
inline |
Initialize the logging system from command-line arguments.
If "-debug", "-info", "-warn", "-error" or "-fatal" is found in the given array of command-line arguments, set the logging level appropriately and remove the relevant argument(s) from the array.