9 QString
key()
const override {
return "StdOutLogger"; }
11 bool open()
override {
return true; }
13 bool isOpen()
const override {
return true; }
14 void log(
const QByteArray &)
override;
15 void flush()
override;
The TLogger class provides an abstract base of logging functionality.
Definition tlogger.h:19
virtual void flush()
Flushes any buffered data to the device.
Definition tlogger.h:30
virtual void log(const QByteArray &)=0
The TStdOutLogger class provides functionality of logging to stdout.
Definition tstdoutlogger.h:5
void close() override
Closes the device.
Definition tstdoutlogger.h:12
QString key() const override
Returns a key that this logger plugin supports.
Definition tstdoutlogger.h:9
bool isMultiProcessSafe() const override
Returns true if the implementation is guaranteed to be free of race conditions when accessed by multi...
Definition tstdoutlogger.h:10
bool isOpen() const override
Returns true if the device is open; otherwise returns false.
Definition tstdoutlogger.h:13
bool open() override
Opens the device for logging.
Definition tstdoutlogger.h:11
#define T_CORE_EXPORT
Definition tdeclexport.h:28