#include <logstream.h>
Collaboration diagram for Dv::Util::logstream:
Public Member Functions | |
logstream (const std::string &path, const std::string &prefix) | |
Creates ofstream for path. | |
logstream (std::ostream &stream, const std::string &prefix) | |
Constructor. | |
~logstream () | |
Destructor. | |
const std::string & | prefix () const |
void | prefix (const std::string &s) |
Private Attributes | |
LogFilter | filter_ |
Each line is preceeded by the date and an application-determined identification string.
Definition at line 29 of file logstream.h.
|
Creates ofstream for path. The stream will be opened with mode ios:app, i.e. a seek to the end of the stream will be performed before each output operation.
|
|
Constructor.
|
|
Destructor.
|
|
|
|
|
|
Definition at line 124 of file logstream.h. |
dvutil-0.13.15 | [30 December, 2004] |