Adds mutual exclusion to another output. More...
#include <Logger.hpp>
Public Member Functions | |
void | outputMessage (const LogMessage &logMessage) |
Logs a message generated by the logger. | |
Static Public Member Functions | |
static shared_ptr < ThreadSafeOutput > | build (shared_ptr< LogOutput > output) |
ThreadSafeOutput. |
Adds mutual exclusion to another output.
Definition at line 657 of file Logger.hpp.
shared_ptr< ThreadSafeOutput > ThreadSafeOutput::build | ( | shared_ptr< LogOutput > | output | ) | [static] |
output | The output to guard. |
Definition at line 46 of file ThreadSafeOutput.cpp.
void ThreadSafeOutput::outputMessage | ( | const LogMessage & | logMessage | ) | [virtual] |
Logs a message generated by the logger.
logMessage | the message to log. |
Implements mermaid::support::logging::LogOutput.
Definition at line 51 of file ThreadSafeOutput.cpp.