|
utility 2026.1.9
A comprehensive C++ utilities library tailored for the development of modern desktop and extended reality (XR) applications.
|
Mixin base class providing logging capabilities to derived classes. More...
#include <headers/utility/logging/loggable.hpp>
Public Member Functions | |
| virtual | ~Loggable (void)=default |
| Virtual destructor for proper cleanup. | |
Protected Member Functions | |
| Loggable (void) | |
| Construct a Loggable with the specified LoggerType. | |
| Loggable (Loggable &&other) noexcept | |
| Move constructor for Loggable. | |
| Loggable & | operator= (Loggable &&other) noexcept |
| Move assignment operator for Loggable. | |
| LoggerType & | getLogger (void) |
| Get the internal logger. | |
| LoggerType & | getLogger (void) const |
| Get the internal logger. | |
Mixin base class providing logging capabilities to derived classes.
| ClassType | The derived class type. |
| LoggerType | The logger type, must inherit from Logger. |
Any class that inherits from Loggable can use logging methods to output debug, info, warning, and error messages.
Definition at line 54 of file loggable.hpp.
|
inlineexplicitprotected |
Construct a Loggable with the specified LoggerType.
Definition at line 64 of file loggable.hpp.
|
inlineprotectednoexcept |
Move constructor for Loggable.
| other | The Loggable instance to move from. |
Definition at line 74 of file loggable.hpp.
|
inlineprotected |
Get the internal logger.
Definition at line 98 of file loggable.hpp.
|
inlineprotected |
Get the internal logger.
Definition at line 107 of file loggable.hpp.
|
inlineprotectednoexcept |
Move assignment operator for Loggable.
| other | The Loggable instance to move from. |
Definition at line 85 of file loggable.hpp.