![]() |
Grail (C++)
1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
The Sink class - destination of logger messages. More...
#include <Sink.hh>
Public Member Functions | |
Sink (bool isSynchronized=false) | |
Sink (const Sink &other)=delete | |
Sink (Sink &&other)=delete | |
Sink & | operator= (const Sink &other)=delete |
Sink & | operator= (Sink &&other)=delete |
void | Sync (const std::string &loggerName, Severity severity, const std::string &message, const std::string &logFileLocation, const std::size_t &logLineNumber) |
Protected Member Functions | |
virtual void | Log (const std::string &loggerName, Severity severity, const std::string &message, const std::string &logFileLocation, const std::size_t &logLineNumber)=0 |
Log - override this method to define how the messege should be logged. More... | |
The Sink class - destination of logger messages.
|
protectedpure virtual |
Log - override this method to define how the messege should be logged.
loggerName | |
severity | |
message | |
logFileLocation | |
logLineNumber |
Implemented in grail::logger::FileSink, and grail::logger::DefaultSink.