OpenVDB
12.0.0
|
Classes | |
struct | LevelScope |
A LevelScope object sets the logging level to a given level and restores it to the current level when the object goes out of scope. More... | |
Enumerations | |
enum | Level { Debug = log4cplus::DEBUG_LOG_LEVEL, Info = log4cplus::INFO_LOG_LEVEL, Warn = log4cplus::WARN_LOG_LEVEL, Error = log4cplus::ERROR_LOG_LEVEL, Fatal = log4cplus::FATAL_LOG_LEVEL } |
Message severity level. More... | |
Functions | |
Level | getLevel () |
Return the current logging level. More... | |
void | setLevel (Level lvl) |
Set the logging level. (Lower-level messages will be suppressed.) More... | |
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. More... | |
void | setProgramName (const std::string &progName, bool useColor=true) |
Specify a program name to be displayed in log messages. More... | |
void | initialize (bool useColor=true) |
Initialize the logging system if it is not already initialized. More... | |
void | initialize (int &argc, char *argv[], bool useColor=true) |
Initialize the logging system from command-line arguments. More... | |
|
strong |
|
inline |
Return the current logging level.
|
inline |
Initialize the logging system if it is not already initialized.
|
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.
|
inline |
Set the logging level. (Lower-level messages will be suppressed.)
|
inline |
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.
|
inline |
Specify a program name to be displayed in log messages.