A default output stream which writes log messages to the std::ostream supplied to it.
More...
#include <Workspace/DataExecution/Logging/defaultlogstream.h>
template<bool VerboseOpLinks>
class CSIRO::DataExecution::DefaultOutputStream< VerboseOpLinks >
- Template Parameters
-
VerboseOpLinks | If true, the stream will not filter any operation links ( |
- See also
- DataExecution::linkInLogText) from incoming text. If false, the stream will identify any linkInLogText() calls, and alter them so that they display only the label.
◆ DefaultOutputStream()
◆ sendText() [1/3]
void sendText |
( |
const QString & |
msg, |
|
|
const QDateTime & |
|
|
) |
| |
|
inlinevirtual |
- Parameters
-
msg | The text to be sent to the stream. |
This function is called by logText() with the expectation that msg will be sent to the relevant place by the subclass' implementation. Please override this only.
Reimplemented from LogStream.
◆ sendText() [2/3]
void sendText |
( |
const QString & |
msg, |
|
|
const QDateTime & |
|
|
) |
| |
|
inlinevirtual |
- Parameters
-
msg | The text to be sent to the stream. |
This function is called by logText() with the expectation that msg will be sent to the relevant place by the subclass' implementation. Please override this only.
Reimplemented from LogStream.
◆ sendText() [3/3]
void sendText |
( |
const QString & |
msg, |
|
|
const QDateTime & |
|
|
) |
| |
|
overridevirtual |
- Parameters
-
msg | The text to be sent to the stream. |
This function is called by logText() with the expectation that msg will be sent to the relevant place by the subclass' implementation. Please override this only.
Reimplemented from LogStream.