2 Header file for log.c.
\r
4 Part of the swftools package.
\r
6 Copyright (c) 2001 Matthias Kramm <kramm@quiss.org>
\r
8 This file is distributed under the GPL, see file COPYING for details */
\r
23 #define LOGLEVEL_FATAL 0
\r
24 #define LOGLEVEL_ERROR 1
\r
25 #define LOGLEVEL_WARNING 2
\r
26 #define LOGLEVEL_NOTICE 3
\r
27 #define LOGLEVEL_VERBOSE 4
\r
28 #define LOGLEVEL_DEBUG 5
\r
30 extern int screenloglevel;
\r
31 extern int socketloglevel;
\r
32 extern int fileloglevel;
\r
34 extern void initLog(char* pLogDir, int fileloglevel, char* servAddr, char* logPort, int serverloglevel, int screenloglevel);
\r
35 extern void log(char* logString);
\r
36 extern void logf(const char* logFormat, ...);
\r
37 extern void exitLog(void);
\r