![]() |
Diarkis C++Client Library API Document
|
Class to output log to file. More...
#include <FileLoggerBackend.h>


Public Member Functions | |
| FileLoggerBackend (const Diarkis::StdString &logFilePath, bool bOutput) | |
| FileLoggerBackend Constructor. More... | |
| virtual | ~FileLoggerBackend () |
| FileLoggerBackend destructor. More... | |
| virtual Result | Log (const Diarkis::StdString &message, bool includeNewLine=true) override |
| Outputs a log of specified messages. More... | |
| virtual Result | Log (const Diarkis::StdString &message, bool includeNewLine) override |
Public Member Functions inherited from StreamLoggerBackend | |
| StreamLoggerBackend (std::ostream &targetLog_) | |
| StreamLoggerBackend (StreamLoggerBackend &)=delete | |
| StreamLoggerBackend (StreamLoggerBackend &&)=delete | |
| std::ostream & | GetTargetLog () const |
Class to output log to file.
| FileLoggerBackend::FileLoggerBackend | ( | const Diarkis::StdString & | logFilePath, |
| bool | bOutput | ||
| ) |
FileLoggerBackend Constructor.
| [in] | logFilePath | File path of log file to output |
| [in] | bOutput | true: output log to file false: output log to debug |
|
virtual |
FileLoggerBackend destructor.
|
overridevirtual |
Outputs a log of specified messages.
| [in] | message | Message to log output |
| [in] | includeNewLine | Whether to add a new line or not true=include |
Reimplemented from StreamLoggerBackend.

|
override |