From: kramm Date: Tue, 28 May 2002 11:41:24 +0000 (+0000) Subject: screenloglevel is global now. X-Git-Tag: release-0-4-0~72 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=2f05025d37446c2b81801a00e6786ee891d7e688;p=swftools.git screenloglevel is global now. --- diff --git a/lib/log.c b/lib/log.c index ace2987..6313698 100644 --- a/lib/log.c +++ b/lib/log.c @@ -27,7 +27,7 @@ #include "log.h" -static int screenloglevel = 1; +int screenloglevel = 1; static int fileloglevel = -1; static int socketloglevel = -1; static int maxloglevel = 1; diff --git a/lib/log.h b/lib/log.h index 34a8c16..9ba8150 100644 --- a/lib/log.h +++ b/lib/log.h @@ -27,6 +27,8 @@ #define LOGLEVEL_VERBOSE 4 #define LOGLEVEL_DEBUG 5 +extern int screenloglevel; + extern void initLog(char* pLogDir, int fileloglevel, char* servAddr, char* logPort, int serverloglevel, int screenloglevel); extern void logf(const char* logFormat, ...); extern void exitLog(void);