#include <LoggerImpl.hpp>
◆ LoggerImpl() [1/3]
castor::LoggerImpl::LoggerImpl |
( |
LoggerImpl const & | | ) |
|
|
delete |
◆ LoggerImpl() [2/3]
◆ ~LoggerImpl()
castor::LoggerImpl::~LoggerImpl |
( |
| ) |
|
|
defaultnoexcept |
◆ LoggerImpl() [3/3]
◆ logMessageQueue()
Logs a message queue.
- Parameters
-
[in] | queue | The message queue |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ printMessage()
template<typename CharT >
void castor::LoggerImpl::printMessage |
( |
LogType | logLevel, |
|
|
std::basic_string< CharT > const & | message, |
|
|
bool | newLine ) |
|
inline |
Prints a message to the console.
- Parameters
-
[in] | logLevel | The log level |
[in] | message | The message |
[in] | newLine | Tells if the new line character must be added |
References castor::toUtf8().
◆ registerCallback()
CU_API void castor::LoggerImpl::registerCallback |
( |
LogCallback | callback, |
|
|
void * | caller ) |
Registers a callback.
- Parameters
-
[in] | callback | The callback |
[in] | caller | The caller |
◆ setFileName()
sets the file for given log level
- Parameters
-
[in] | logFilePath | The file path |
[in] | logLevel | The log level. If LogType::eCount, sets the file for every log level |
◆ unregisterCallback()
CU_API void castor::LoggerImpl::unregisterCallback |
( |
void * | caller | ) |
|
Unregisters a callback.
- Parameters
-
The documentation for this class was generated from the following file: