diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-11-15 03:05:23 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-11-15 03:05:23 +0000 |
commit | 9b432311c4d692d68f913027a95e050b1067c5d9 (patch) | |
tree | b1488e36ea7fd8691f6ac1c2d2c2cf2cb0eabd90 /src/common/log.c | |
parent | 4cd7bddfc332aa14621235beb649b73f494266b0 (diff) | |
download | tor-9b432311c4d692d68f913027a95e050b1067c5d9.tar.gz tor-9b432311c4d692d68f913027a95e050b1067c5d9.zip |
Make new logging stuff work on windows; fix a couple of windows typos.
svn:r5375
Diffstat (limited to 'src/common/log.c')
-rw-r--r-- | src/common/log.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/common/log.c b/src/common/log.c index 85cd04df44..3cb7b764cb 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -264,47 +264,47 @@ _log_fn(int severity, uint32_t domain, const char *format, ...) _log_fn_function_name = NULL; } void -_debug(uint32_t domain, const char *format, ...) +debug(uint32_t domain, const char *format, ...) { va_list ap; va_start(ap,format); - logv(LOG_DEBUG, domain, _log_fn_function_name, format, ap); + logv(LOG_DEBUG, domain, NULL, format, ap); va_end(ap); _log_fn_function_name = NULL; } void -_info(uint32_t domain, const char *format, ...) +info(uint32_t domain, const char *format, ...) { va_list ap; va_start(ap,format); - logv(LOG_INFO, domain, _log_fn_function_name, format, ap); + logv(LOG_INFO, domain, NULL, format, ap); va_end(ap); _log_fn_function_name = NULL; } void -_notice(uint32_t domain, const char *format, ...) +notice(uint32_t domain, const char *format, ...) { va_list ap; va_start(ap,format); - logv(LOG_NOTICE, domain, _log_fn_function_name, format, ap); + logv(LOG_NOTICE, domain, NULL, format, ap); va_end(ap); _log_fn_function_name = NULL; } void -_warn(uint32_t domain, const char *format, ...) +warn(uint32_t domain, const char *format, ...) { va_list ap; va_start(ap,format); - logv(LOG_WARN, domain, _log_fn_function_name, format, ap); + logv(LOG_WARN, domain, NULL, format, ap); va_end(ap); _log_fn_function_name = NULL; } void -_err(uint32_t domain, const char *format, ...) +err(uint32_t domain, const char *format, ...) { va_list ap; va_start(ap,format); - logv(LOG_ERR, domain, _log_fn_function_name, format, ap); + logv(LOG_ERR, domain, NULL, format, ap); va_end(ap); _log_fn_function_name = NULL; } |