diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-22 19:34:20 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-22 19:34:20 +0000 |
commit | 2ec7a4dd7277ab94ef7821cdc94a437efeee3b39 (patch) | |
tree | 74bc37abdd41b3c09c513a008204a067dd5710eb /src/log.h | |
parent | 60f61c8f0c33f6f33b40e59dba14d4448fa4fb18 (diff) |
The log_message() function now stores the messages if the configuration
file has not been read yet. The reason for this is that we don't know
where to log the messgaes until _after_ the config file has been
processed.
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: log.h,v 1.8 2001-11-22 00:31:10 rjkaes Exp $ +/* $Id: log.h,v 1.9 2002-04-22 19:34:19 rjkaes Exp $ * * See 'log.c' for a detailed description. * @@ -99,7 +99,8 @@ # define DEBUG2(x, y...) do { } while(0) #endif -extern void log_message(short int level, char *fmt, ...); -extern void set_log_level(short int level); +extern void log_message(int level, char *fmt, ...); +extern void set_log_level(int level); +extern void send_stored_logs(void); #endif |