Implementation of the logger. More...

Functions | |
| void | Log (LogLevel level, const std::string &msg, const std::string &file, int lineno) |
| Workhorse of logging. More... | |
Implementation of the logger.
| void Log | ( | LogLevel | level, |
| const std::string & | msg, | ||
| const std::string & | file, | ||
| int | lineno | ||
| ) |
Workhorse of logging.
The log shows not only its content and level, but the file and the line where it was generated as well.
| level | level of the log, namely |
VERBOSEINFOWARNINGERRORFATALUNKNOWNThese names are quite self-explanatory.
| msg | content of the message |
| file | the file from which the log is generated |
| lineno | the line at which the log is generated |
LOG macro as follows.