Crossfire Server, Trunk  1.75.0
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, llevWarn, llevNotice, llevInfo,
  llevDebug, llevMonster, NRLOGLEVELS
}
 Log levels for the LOG() function. More...
 

Variables

const char *const loglevel_names []
 Human-readable name of log levels. More...
 

Detailed Description

Log levels.

Definition in file logger.h.

Enumeration Type Documentation

◆ LogLevel

enum LogLevel

Log levels for the LOG() function.

Keep these aligned with syslog priorities.

Enumerator
llevError 

Problems requiring server admin to fix.

llevWarn 

Warnings or major code issues.

llevNotice 
llevInfo 

Information.

llevDebug 

Only for debugging purposes.

llevMonster 

Many many details.

NRLOGLEVELS 

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 36 of file logger.cpp.

Referenced by LOG().