git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7ccd50d
)
screenloglevel is global now.
author
kramm
<kramm>
Tue, 28 May 2002 11:41:24 +0000
(11:41 +0000)
committer
kramm
<kramm>
Tue, 28 May 2002 11:41:24 +0000
(11:41 +0000)
lib/log.c
patch
|
blob
|
history
lib/log.h
patch
|
blob
|
history
diff --git
a/lib/log.c
b/lib/log.c
index
ace2987
..
6313698
100644
(file)
--- a/
lib/log.c
+++ b/
lib/log.c
@@
-27,7
+27,7
@@
#include "log.h"
#include "log.h"
-static int screenloglevel = 1;
+int screenloglevel = 1;
static int fileloglevel = -1;
static int socketloglevel = -1;
static int maxloglevel = 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
(file)
--- a/
lib/log.h
+++ b/
lib/log.h
@@
-27,6
+27,8
@@
#define LOGLEVEL_VERBOSE 4
#define LOGLEVEL_DEBUG 5
#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);
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);