Grail (C++)  1.1.1
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::Sink Class Referenceabstract

The Sink class - destination of logger messages. More...

#include <Sink.hh>

Inheritance diagram for grail::Sink:

Public Member Functions

 Sink (bool isSynchronized=false)
 
 Sink (const Sink &other)=delete
 
 Sink (Sink &&other)=delete
 
Sinkoperator= (const Sink &other)=delete
 
Sinkoperator= (Sink &&other)=delete
 
void Sync (const std::string &message)
 

Protected Member Functions

virtual void Log (const std::string &message)=0
 Log - override this method to define how the messege should be logged. More...
 

Detailed Description

The Sink class - destination of logger messages.

Member Function Documentation

◆ Log()

virtual void grail::Sink::Log ( const std::string &  message)
protectedpure virtual

Log - override this method to define how the messege should be logged.

Parameters
message

Implemented in grail::FileSink, and grail::DefaultSink.


The documentation for this class was generated from the following files: