aboutsummaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/log.h b/src/log.h
index 4e48dad..8b2c881 100644
--- a/src/log.h
+++ b/src/log.h
@@ -14,6 +14,7 @@
#define _LOG_DEBUG 4
unsigned int log_loglevel;
+int log_fd;
const char* log_loglevel_str[5];
@@ -35,14 +36,14 @@ const char* log_loglevel_str[5];
}
-int log_init_file(char* _file, unsigned int _verbosity);
/**
* Opens logfile, writes filedes to _fd
* */
+int log_init_file(char* _file, unsigned int _verbosity);
-int log_init_stdout(unsigned int _verbosity);
/**
* Configures LOG macros for stdout
*/
+int log_init_stdout(unsigned int _verbosity);
-
+int log_close();