1 #ifndef GRAIL_FILE_SINK_H
2 #define GRAIL_FILE_SINK_H
22 FileSink(
const std::string& filename,
bool isSynchronized =
false);
25 void Log(
const std::string& message)
override;
28 std::ofstream fileStream;
The FileSink class - sink writing messages to file.
Definition: FileSink.hh:14
FileSink(const std::string &filename, bool isSynchronized=false)
FileSink.
Definition: FileSink.cpp:7
void Log(const std::string &message) override
Log - override this method to define how the messege should be logged.
Definition: FileSink.cpp:12
The Sink class - destination of logger messages.
Definition: Sink.hh:13