Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
Logger.cpp File Reference
#include "logging/Logger.hpp"
#include <chrono>
#include <cstdio>
#include <ctime>
+ Include dependency graph for Logger.cpp:

Go to the source code of this file.

Functions

static const char * _levelName (LogLevel level)
 
static std::string _timestamp ()
 

Function Documentation

◆ _levelName()

static const char * _levelName ( LogLevel  level)
static

Definition at line 7 of file Logger.cpp.

References Debug, Error, Info, and Warn.

Referenced by Logger::_log().

+ Here is the caller graph for this function:

◆ _timestamp()

static std::string _timestamp ( )
static

Definition at line 22 of file Logger.cpp.

Referenced by Logger::_log().

+ Here is the caller graph for this function: