Class LoggerWrapper¶
Defined in File Logger.hpp
Class Documentation¶
-
class
Acts
::
LoggerWrapper
¶ Class that contains (but doesn’t own) a logger instance.
Is callable so can be used with the logging macros.
Public Functions
-
LoggerWrapper
() = delete¶
-
LoggerWrapper
(const Logger &logger)¶ Constructor ensuring a logger instance is given.
- Parameters
logger
:
-
bool
doPrint
(const Logging::Level &lvl) const¶ Directly expose whether the contained logger will print at a level.
- Return
Whether to print at this level or not.
- Parameters
lvl
: The level to check
-