Singleton class to process log messages.
More...
#include <logger.hh>
|
static Logger & | get () |
| Factory method to get the singleton instance.
|
|
|
void | onHandlerDeleted (QObject *obj) |
| Internal callback to handle deleted handler objects.
|
|
|
QList< LogHandler * > | _handler |
| The list of registered log-handler.
|
|
|
static Logger * | _instance = nullptr |
| The singleton instance.
|
|
Singleton class to process log messages.
◆ Logger()
Hidden constructor.
Use get
method to obtain an instance.
◆ addHandler()
Adds a log-handler to the logger.
The ownership is transferred to the logger.
◆ remHandler()
Removes a log-handler from the logger.
The ownership is transferred back to the caller.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/logger.hh
- /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/logger.cc