grail (C  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.FileSink Class Reference

The FileSink class - sink writing messages to file More...

Inheritance diagram for Grail.FileSink:
Collaboration diagram for Grail.FileSink:

Public Member Functions

 FileSink (string filename, bool isSynchronized=false)
 FileSink More...
 
- Public Member Functions inherited from Grail.Sink
 Sink (bool isSynchronized=false)
 
void Sync (string message)
 

Protected Member Functions

override void Log (string message)
 Log - override this method to define how the messege should be logged More...
 

Detailed Description

The FileSink class - sink writing messages to file

Constructor & Destructor Documentation

◆ FileSink()

Grail.FileSink.FileSink ( string  filename,
bool  isSynchronized = false 
)
inline

FileSink

Parameters
filenamepath to logger file, if it does not exist new file will be created
isSynchronized

Member Function Documentation

◆ Log()

override void Grail.FileSink.Log ( string  message)
inlineprotectedvirtual

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

Parameters
message

Implements Grail.Sink.


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