|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
Implementation of the logging system. More...
#include "RType/Logger.hpp"#include <chrono>#include <filesystem>#include <fstream>#include <iomanip>#include <iostream>#include <mutex>#include <print>Go to the source code of this file.
Classes | |
| class | rtp::log::detail::LoggerBackend |
Namespaces | |
| namespace | rtp |
| namespace | rtp::log |
| namespace | rtp::log::detail |
Functions | |
| static LoggerBackend & | rtp::log::detail::getBackend (void) noexcept |
| void | rtp::log::detail::logImpl (Level level, std::string_view message, const std::source_location &loc) |
| auto | rtp::log::configure (std::string_view logFilePath) noexcept -> std::expected< void, rtp::Error > |
| Configure the logger using a configuration file. | |
Implementation of the logging system.
Implements thread-safe logging with colored console output, file logging support, automatic source location tracking, and timestamp formatting.
Definition in file Logger.cpp.