Logger class.
More...
#include "logger.h"
Logger class.
Definition at line 80 of file logger.h.
◆ Logger() [1/2]
Default constructor.
Definition at line 85 of file logger.h.
◆ Logger() [2/2]
Logger::Logger |
( |
typeLog |
type, |
|
|
bool |
toLog = false |
|
) |
| |
Constructor.
- Parameters
-
Definition at line 9 of file logger.cpp.
◆ ~Logger()
◆ getColor()
◆ getLabel()
std::string Logger::getLabel |
( |
typeLog |
type | ) |
|
|
inlineprivate |
◆ operator<<() [1/2]
template<class T >
Logger & Logger::operator<< |
( |
const T & |
msg | ) |
|
|
inline |
Log/output any message.
- Template Parameters
-
- Parameters
-
- Returns
Definition at line 102 of file logger.h.
◆ operator<<() [2/2]
Logger & Logger::operator<< |
( |
const unsigned long & |
key | ) |
|
|
inline |
Specialized log/output message for keyType (unsigned long)
- Parameters
-
- Returns
Definition at line 122 of file logger.h.
◆ logFile
std::ofstream Logger::logFile |
|
private |
◆ msgLevel
◆ omit
bool Logger::omit = false |
|
private |
◆ opened
bool Logger::opened = false |
|
private |
◆ openedLogFile
bool Logger::openedLogFile = false |
|
private |
◆ toLog
bool Logger::toLog = false |
|
private |
The documentation for this class was generated from the following files: