API Documentation
|
When attached to a log, writes messages directly to a specified ascii file. More...
#include <AsciiFileOutputStream.h>
Public Member Functions | |
AsciiFileOutputStream (const File &file, bool append) | |
virtual | ~AsciiFileOutputStream () |
void | setProgress (fltp04) final override |
void | addMessage (const LogMessage &message) final override |
void | setFile (const File &file, bool append) |
void | moveFile (File new_location) |
void | copyFile (File new_location) |
const File & | file () const |
Public Member Functions inherited from LogStream | |
virtual | ~LogStream () |
virtual void | attach (ProgressInfo *stream) |
virtual void | detach (ProgressInfo *stream) |
virtual void | allowCancel (bool) |
virtual void | addMessages (const Buffer< LogMessage > &messages) |
void | clearLinks () |
void | setIgnoreMessages (bool ignore) |
bool | ignoringMessages () const |
Static Public Member Functions | |
static void | ReadLogFile (ProgressInfo *stream, const File &file) |
Additional Inherited Members | |
Protected Attributes inherited from LogStream | |
Buffer< ProgressInfo * > | m_linked_logs |
bool | m_ignore_message = false |
When attached to a log, writes messages directly to a specified ascii file.
Class: AsciiFileOutputStream
|
explicit |
|
virtual |
|
finaloverridevirtual |
Implements LogStream.
void copyFile | ( | File | new_location | ) |
const File & file | ( | ) | const |
void moveFile | ( | File | new_location | ) |
|
static |
void setFile | ( | const File & | file, |
bool | append ) |