ge211  2021.5.1
A student game engine
ge211::internal::logging Namespace Reference

Detailed Description

Facilities for logging to the console.

Classes

class  Log_message
 A Log_message accumulates information and then prints it all at once when it's about to be destroyed. More...
 
class  Logger
 Right now a Logger just keeps track of the current log level. More...
 

Enumerations

enum  Log_level { debug, info, warn, fatal }
 How serious is this log message? More...
 

Functions

Log_message debug (std::string reason="")
 Returns a debug-level log message.
 
Log_message info (std::string reason="")
 Returns a info-level log message.
 
Log_message warn (std::string reason="")
 Returns a warn-level log message.
 
Log_message fatal (std::string reason="")
 Returns a fatal-level log message.
 

Enumeration Type Documentation

◆ Log_level

enum Log_level
strong

How serious is this log message?

Enumerator
debug 

extra debugging information

info 

helpful information

warn 

non-fatal but concerning conditions

fatal 

serious errors

Definition at line 192 of file ge211_error.hxx.