File: logger.h

package info (click to toggle)
crossfire 1.71.0%2Bdfsg1-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 28,076 kB
  • sloc: ansic: 85,126; sh: 11,978; perl: 2,659; lex: 2,044; makefile: 1,271
file content (17 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * @file
 * Log levels.
 */

#ifndef LOGGER_H
#define LOGGER_H

/** Log levels for the LOG() function. */
typedef enum LogLevel {
    llevError = 0,    /**< Error, serious thing. */
    llevInfo = 1,     /**< Information. */
    llevDebug = 2,    /**< Only for debugging purposes. */
    llevMonster = 3   /**< Many many details. */
} LogLevel;

#endif /* LOGGER_H */