Base class for a generalized set of "log data destinations," including to files (text or binary)...
Definition: LogWriter.h:25
virtual ~TextLogWriter()
Destructor.
Definition: TextLogWriter.cpp:36
One "entry" in a LogQueue.
Definition: LogEntry.h:33
bool withDirectory_
Definition: TextLogWriter.h:53
virtual unsigned int write(const LogEntry *entry, const Unit *unit=NULL)
Write an entry to the text log.
Definition: TextLogWriter.cpp:57
virtual unsigned int writeHeader()
Start the text log.
Definition: TextLogWriter.cpp:40
TextLogWriter(bool withDirectory=false)
Default Constructor Assumes that the stream will be assigned later via setOutStream() ...
Definition: TextLogWriter.cpp:20
Defines a simple LogWriter that takes LogEntries and serializes them as text values to a stream...
Definition: TextLogWriter.h:25