MetaImGUI 1.0.0
ImGui Application Template for C++20
Loading...
Searching...
No Matches
Logger.h File Reference
#include <filesystem>
#include <fstream>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <string_view>
Include dependency graph for Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MetaImGUI::Logger
 Simple logging system with file and console output. More...
 

Namespaces

namespace  MetaImGUI
 

Macros

#define LOG_DEBUG(...)   MetaImGUI::Logger::Instance().Debug(__VA_ARGS__)
 
#define LOG_INFO(...)   MetaImGUI::Logger::Instance().Info(__VA_ARGS__)
 
#define LOG_WARNING(...)   MetaImGUI::Logger::Instance().Warning(__VA_ARGS__)
 
#define LOG_ERROR(...)   MetaImGUI::Logger::Instance().Error(__VA_ARGS__)
 
#define LOG_FATAL(...)   MetaImGUI::Logger::Instance().Fatal(__VA_ARGS__)
 

Enumerations

enum class  MetaImGUI::LogLevel {
  MetaImGUI::Debug , MetaImGUI::Info , MetaImGUI::Warning , MetaImGUI::Error ,
  MetaImGUI::Fatal
}
 Log severity levels. More...
 

Macro Definition Documentation

◆ LOG_DEBUG

#define LOG_DEBUG (   ...)    MetaImGUI::Logger::Instance().Debug(__VA_ARGS__)

Definition at line 217 of file Logger.h.

◆ LOG_ERROR

#define LOG_ERROR (   ...)    MetaImGUI::Logger::Instance().Error(__VA_ARGS__)

Definition at line 220 of file Logger.h.

◆ LOG_FATAL

#define LOG_FATAL (   ...)    MetaImGUI::Logger::Instance().Fatal(__VA_ARGS__)

Definition at line 221 of file Logger.h.

◆ LOG_INFO

#define LOG_INFO (   ...)    MetaImGUI::Logger::Instance().Info(__VA_ARGS__)

Definition at line 218 of file Logger.h.

◆ LOG_WARNING

#define LOG_WARNING (   ...)    MetaImGUI::Logger::Instance().Warning(__VA_ARGS__)

Definition at line 219 of file Logger.h.