Atrinik Server 2.5
Typedefs | Enumerations
include/logger.h File Reference

Go to the source code of this file.

Typedefs

typedef enum LogLevel LogLevel

Enumerations

enum  LogLevel {
  llevNoLog = -1, llevSystem = 0, llevError, llevBug,
  llevChat, llevInfo, llevDebug
}

Detailed Description

Log levels.

Definition in file logger.h.


Typedef Documentation

typedef enum LogLevel LogLevel

Log levels for the LOG() function.


Enumeration Type Documentation

enum LogLevel

Log levels for the LOG() function.

Enumerator:
llevNoLog 

Set GLOBAL_LOG_LEVEL to this, and no messages will be printed out.

llevSystem 

Used for system-type messages.

llevError 

An irrecoverable fatal error; the server will shut down.

llevBug 

A bug; after too many of these in a single tick the server will shut down.

llevChat 

Chat, for example, shout, say, etc.

llevInfo 

Just tell the log stuff we think it's useful to know.

llevDebug 

Give out maximal information for debug and bug control.

Definition at line 35 of file logger.h.