Logger class that handles logging functionality.
More...
#include <logger.h>
|
| | Logger (QObject *parent=nullptr) |
| | Constructs a new Logger object.
|
| void | registerPlugin (const QString &name, maki::LogFunction &callback) override |
| | Registers a plugin with a callback function.
|
Logger class that handles logging functionality.
◆ Logger()
| Logger::Logger |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
Constructs a new Logger object.
- Parameters
-
| parent | Pointer to the parent QObject. |
◆ registerPlugin()
| void Logger::registerPlugin |
( |
const QString & | name, |
|
|
maki::LogFunction & | callback ) |
|
override |
Registers a plugin with a callback function.
- Parameters
-
| name | Name of the plugin. |
| callback | Reference to the log function callback. |
The documentation for this class was generated from the following files:
- /__w/maki/maki/app/system/logger.h
- /__w/maki/maki/app/system/logger.cpp