4 Part of the swftools package.
6 Copyright (c) 2001 Matthias Kramm <kramm@quiss.org>
8 This file is distributed under the GPL, see file COPYING for details */
26 #define LOGLEVEL_FATAL 0
27 #define LOGLEVEL_ERROR 1
28 #define LOGLEVEL_WARNING 2
29 #define LOGLEVEL_NOTICE 3
30 #define LOGLEVEL_VERBOSE 4
31 #define LOGLEVEL_DEBUG 5
33 extern int screenloglevel;
35 extern void initLog(char* pLogDir, int fileloglevel, char* servAddr, char* logPort, int serverloglevel, int screenloglevel);
36 extern void msg(const char* logFormat, ...);
37 extern void exitLog(void);
39 #define FIXNULL(a) ((int)(a)?(a):"NULL")