ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
anonymous_namespace{log.cpp} Namespace Reference

Functions

const char * levelToString (asw::log::Level level)
 
std::string getTimestamp ()
 
void logMessage (asw::log::Level level, const std::string &message)
 

Variables

asw::log::Level currentLevel = asw::log::Level::INFO
 
std::ostream * output = &std::cerr
 

Function Documentation

◆ getTimestamp()

std::string anonymous_namespace{log.cpp}::getTimestamp ( )

Definition at line 28 of file log.cpp.

◆ levelToString()

const char * anonymous_namespace{log.cpp}::levelToString ( asw::log::Level level)

Definition at line 14 of file log.cpp.

◆ logMessage()

void anonymous_namespace{log.cpp}::logMessage ( asw::log::Level level,
const std::string & message )

Definition at line 42 of file log.cpp.

Variable Documentation

◆ currentLevel

asw::log::Level anonymous_namespace{log.cpp}::currentLevel = asw::log::Level::INFO

Definition at line 11 of file log.cpp.

◆ output

std::ostream* anonymous_namespace{log.cpp}::output = &std::cerr

Definition at line 12 of file log.cpp.