Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Member Functions | Static Public Member Functions | List of all members
Logger Class Reference

Class for logging, tracing and debugging. More...

#include <logging_sys.h>

Public Member Functions

void push (const std::string &formatted_log)
 

Static Public Member Functions

static Loggerget_instance ()
 
static void initialize ()
 
static void destroy ()
 

Detailed Description

Class for logging, tracing and debugging.

Use the LOG_ERROR, LOG_INFO, LOG_WARN, LOG_DEBUG macros to log messages

Note
Do not push sensitive data to the logs
Version
0.0.9

Member Function Documentation

◆ destroy()

void Logger::destroy ( )
static

◆ get_instance()

Logger & Logger::get_instance ( )
static

◆ initialize()

void Logger::initialize ( )
static

◆ push()

void Logger::push ( const std::string &  formatted_log)

The documentation for this class was generated from the following files: