bwmodel
A modeling environment for Minecraft Bedwars
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Logger Class Reference

#include <logger.h>

Classes

struct  LocationInfo
 

Public Member Functions

 Logger (std::ostream &out)
 
template<typename T >
Loggeroperator<< (T val)
 
Loggeroperator<< (const LocationInfo &location_info)
 

Static Public Member Functions

static Loggermain ()
 

Static Public Attributes

static bool main_enabled = true
 

Detailed Description

A wrapper around output logging.

Constructor & Destructor Documentation

◆ Logger()

Logger::Logger ( std::ostream & out)
inline

Constructs a new Logger that logs to out.

Member Function Documentation

◆ main()

static Logger & Logger::main ( )
inlinestatic

The global logger instance.

◆ operator<<() [1/2]

Logger & Logger::operator<< ( const LocationInfo & location_info)
inline

Sets location information to location_info.

◆ operator<<() [2/2]

template<typename T >
Logger & Logger::operator<< ( T val)
inline

Logs val.

Member Data Documentation

◆ main_enabled

bool Logger::main_enabled = true
static

Global logger enable flag.


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