1 | /* |
|
|
2 | * static char *rcsid_logger_h = |
|
|
3 | * "$Id: logger.h,v 1.1 2006/02/03 07:12:49 root Exp $"; |
|
|
4 | */ |
|
|
5 | |
|
|
6 | /* |
1 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
2 | CrossFire, A Multiplayer game for X-windows |
8 | |
3 | |
|
|
4 | Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
9 | Copyright (C) 1992 Frank Tore Johansen |
5 | Copyright (C) 1992 Frank Tore Johansen |
10 | |
6 | |
11 | This program is free software; you can redistribute it and/or modify |
7 | This program is free software; you can redistribute it and/or modify |
12 | it under the terms of the GNU General Public License as published by |
8 | it under the terms of the GNU General Public License as published by |
13 | the Free Software Foundation; either version 2 of the License, or |
9 | the Free Software Foundation; either version 2 of the License, or |
… | |
… | |
30 | |
26 | |
31 | typedef enum LogLevel { |
27 | typedef enum LogLevel { |
32 | llevError = 0, llevInfo = 1, llevDebug = 2, llevMonster = 3 |
28 | llevError = 0, llevInfo = 1, llevDebug = 2, llevMonster = 3 |
33 | } LogLevel; |
29 | } LogLevel; |
34 | |
30 | |
|
|
31 | void LOG (LogLevel logLevel, const char *format, ...); |
|
|
32 | |
35 | #endif /* LOGGER_H */ |
33 | #endif /* LOGGER_H */ |