DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
Deki::LogSystem Class Reference

Backend of the DEKI_LOG macros, with a callback for the editor console. More...

#include <deki/LogSystem.h>

Static Public Member Functions

static void ClearLogContext ()
static uint32_t GetLogContextObjectId ()
static void Initialize ()
 Sets up logging, including stdout buffering.
static void LogWithLevel (LogLevel level, const char *file, int line, const char *fmt,...)
static void SetLogCallback (LogCallback callback)
 Sends every log line to callback as well (the editor console).
static void SetLogContext (uint32_t objectId)

Detailed Description

Backend of the DEKI_LOG macros, with a callback for the editor console.

Member Function Documentation

◆ ClearLogContext()

void Deki::LogSystem::ClearLogContext ( )
static

◆ GetLogContextObjectId()

uint32_t Deki::LogSystem::GetLogContextObjectId ( )
static

◆ Initialize()

void Deki::LogSystem::Initialize ( )
static

Sets up logging, including stdout buffering.

◆ LogWithLevel()

void Deki::LogSystem::LogWithLevel ( LogLevel level,
const char * file,
int line,
const char * fmt,
... )
static

◆ SetLogCallback()

void Deki::LogSystem::SetLogCallback ( LogCallback callback)
static

Sends every log line to callback as well (the editor console).

◆ SetLogContext()

void Deki::LogSystem::SetLogContext ( uint32_t objectId)
static

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