NeTrainSim 0.1.1 beta
The Open-Source Network Trains Simulator
 
Loading...
Searching...
No Matches
Logger::Logger Class Reference

A logger. More...

#include <logger.h>

Static Public Member Functions

static void logMessage (LogLevel level, const std::string &message)
 Logs a message.
 
static void DebugLogMessageToConsole (const std::string &message)
 Debug log message to console.
 

Detailed Description

A logger.

Author
Ahmed Aredah
Date
2/28/2023

Member Function Documentation

◆ DebugLogMessageToConsole()

static void Logger::Logger::DebugLogMessageToConsole ( const std::string &  message)
inlinestatic

Debug log message to console.

Author
Ahmed Aredah
Date
2/28/2023
Parameters
messageThe message.

◆ logMessage()

static void Logger::Logger::logMessage ( LogLevel  level,
const std::string &  message 
)
inlinestatic

Logs a message.

Author
Ahmed Aredah
Date
2/28/2023
Parameters
levelThe level.
messageThe message.