Raito 0.1
Loading...
Searching...
No Matches
Raito::Core::Debug Namespace Reference

Functions

bool Initialize (bool logDumps)
 
void Log (const std::string &title, const std::string &msg)
 
void LogWarning (const std::string &title, const std::string &msg)
 
void LogError (const std::string &title, const std::string &msg)
 

Function Documentation

◆ Initialize()

bool Raito::Core::Debug::Initialize ( bool logDumps)

Logging module initialization function

Parameters
logDumpssets the option to dump a log file when the program exists

◆ Log()

void Raito::Core::Debug::Log ( const std::string & title,
const std::string & msg )

Information loggin function //! Format [Info] title - msg

Parameters
titleTitle for the log
msgMessage of the log

◆ LogError()

void Raito::Core::Debug::LogError ( const std::string & title,
const std::string & msg )

Error logging function Format [Error] title - msg

Parameters
titleTitle for the log
msgMessage of the log

◆ LogWarning()

void Raito::Core::Debug::LogWarning ( const std::string & title,
const std::string & msg )

Warning logging function Format [Warning] title - msg

Parameters
titleTitle for the log
msgMessage of the log