Mantis App v0.1.13
Loading...
Searching...
No Matches
logging.h File Reference

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>
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mantis::LoggingUnit
 

Namespaces

namespace  mantis
 router.h
 

Macros

#define TRACE_CLASS_METHOD()   Log::trace("Enter > {} {}::{}()", __file__, __class_name__, __func__);
 
#define TRACE_METHOD   Log::trace("Enter > {} {}()", __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
}
 

Detailed Description

Wrapper around spdlog's functionality.

Created by allan on 12/05/2025.

Macro Definition Documentation

◆ TRACE_CLASS_METHOD

#define TRACE_CLASS_METHOD ( )    Log::trace("Enter > {} {}::{}()", __file__, __class_name__, __func__);

◆ TRACE_METHOD

#define TRACE_METHOD   Log::trace("Enter > {} {}()", __file__, __func__);