#include "log.h"
-static int screenloglevel = 1;
+int screenloglevel = 1;
static int fileloglevel = -1;
static int socketloglevel = -1;
static int maxloglevel = 1;
#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);