Crossfire Server, Trunk
logger.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  LogLevel { llevError = 0, llevInfo = 1, llevDebug = 2, llevMonster = 3 }
 

Variables

const char *const loglevel_names []
 

Detailed Description

Log levels.

Definition in file logger.h.

Enumeration Type Documentation

◆ LogLevel

enum LogLevel

Log levels for the LOG() function.

Enumerator
llevError 

Error, serious thing.

llevInfo 

Information.

llevDebug 

Only for debugging purposes.

llevMonster 

Many many details.

Definition at line 10 of file logger.h.

Variable Documentation

◆ loglevel_names

const char* const loglevel_names[]

Human-readable name of log levels.

Definition at line 32 of file logger.cpp.

Referenced by ResourcesManager::load(), and LOG().