![]() |
Mantis App v0.2.8
|
Wrapper around spdlog's functionality. More...
#include <../../3rdParty/json/single_include/nlohmann/json.hpp>
#include <../../3rdParty/spdlog/include/spdlog/spdlog.h>
#include <../../3rdParty/spdlog/include/spdlog/sinks/basic_file_sink.h>
Go to the source code of this file.
Classes | |
class | mantis::LoggingUnit |
class | mantis::FuncLogger |
A class for tracing function execution [entry, exit] useful in following execution flow. More... | |
Namespaces | |
namespace | mantis |
router.h | |
Macros | |
#define | TRACE_CLASS_METHOD() mantis::FuncLogger _logger(std::format("{} {}::{}()", __file__, __class_name__, __func__)); |
#define | TRACE_METHOD mantis::FuncLogger _logger(std::format("{} {}()", __file__, __func__)); |
Typedefs | |
typedef enum mantis::LogLevel | mantis::LogLevel |
using | mantis::Log = LoggingUnit |
Enumerations | |
enum class | mantis::LogLevel : uint8_t { mantis::TRACE = 0 , mantis::DEBUG , mantis::INFO , mantis::WARN , mantis::CRITICAL } |
Wrapper around spdlog's functionality.
Created by allan on 12/05/2025.
#define TRACE_CLASS_METHOD | ( | ) | mantis::FuncLogger _logger(std::format("{} {}::{}()", __file__, __class_name__, __func__)); |
#define TRACE_METHOD mantis::FuncLogger _logger(std::format("{} {}()", __file__, __func__)); |