Appends LogMessage's to a file. 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< FileOutput > | build (std::string fileName) |
Creates a new FileOutput for the given file. Beware that only one file output should exist for each file. You are responsible to sychronize that output with a ThreadSafeOutput if you need. |
Appends LogMessage's to a file.
Definition at line 717 of file Logger.hpp.
shared_ptr< FileOutput > FileOutput::build | ( | std::string | fileName | ) | [static] |
Creates a new FileOutput for the given file. Beware that only one file output should exist for each file. You are responsible to sychronize that output with a ThreadSafeOutput if you need.
fileName | The name of the file to append to. |
Definition at line 43 of file FileOutput.cpp.
void FileOutput::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 48 of file FileOutput.cpp.