![]() |
Max OS 0.3
|
Defines a Logger class for logging messages with different severity levels to multiple output streams. More...
#include <libcommon/outputStream.h>#include <libcommon/colour.h>#include <libcommon/spinlock.h>Go to the source code of this file.
Classes | |
| class | MaxOS::Logger |
| A class that handles logging messages to the console and files. More... | |
| class | MaxOS::LogRecord |
| A single logging event. More... | |
Enumerations | |
| enum class | MaxOS::LogLevel { OUT , ERROR , WARNING , HEADER , INFO , TEST , DEBUG } |
| Priority levels for logging messages. Different levels may be used to filter messages based on their importance depending on build type. More... | |
Variables | |
| constexpr uint8_t | MaxOS::MAX_LOG_WRITERS = 5 |
| The maximum number of log writers that can be added to the logger. | |
| constexpr LogLevel | MaxOS::MAX_LOG_LEVEL = LogLevel::DEBUG |
| The maximum log level for this build (messages above this level will not be logged) | |
Defines a Logger class for logging messages with different severity levels to multiple output streams.
Definition in file logger.h.
|
strong |
|
constexpr |
The maximum log level for this build (messages above this level will not be logged)
Definition at line 40 of file logger.h.
Referenced by MaxOS::Logger::write_char().
|
constexpr |
The maximum number of log writers that can be added to the logger.
Definition at line 36 of file logger.h.
Referenced by MaxOS::Logger::add_log_writer().