HiveMind
Classes | Enumerations
ILogger.h File Reference
#include <cstdarg>
Include dependency graph for ILogger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ILogger
 A logger class with basic logging capabilities. More...
 

Enumerations

enum  LogLevel { LogLevel::Debug = 0, LogLevel::Info = 1, LogLevel::Warn = 2, LogLevel::Error = 3 }
 The log level used for the logger. More...
 
enum  LogRet { LogRet::Ok = 0, LogRet::LowLevel = 1, LogRet::Error = 2 }
 The return value of the logger. More...
 

Enumeration Type Documentation

◆ LogLevel

enum LogLevel
strong

The log level used for the logger.

Enumerator
Debug 

Log level to debug, prints everything

Info 

Log level to show basic info on state, etc

Warn 

Log level for warnings that don't cause application crash

Error 

Log level for unrecoverable error

◆ LogRet

enum LogRet
strong

The return value of the logger.

Enumerator
Ok 

Success return value

LowLevel 

Didn't log since the level of the logger is higher than the one provided in the function

Error 

An external error ocurred and the log failed