diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-25 09:43:27 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-25 09:43:27 +0100 |
commit | 9a797e37f07ca227eb2153437fa7d894cab4c244 (patch) | |
tree | 325ef1175e06458eacaf999ce1ada0d98bc20681 /include | |
parent | 0d4fb3da116f6e6704bb8bafe11f4ff865ec6aea (diff) | |
download | wolfbones-9a797e37f07ca227eb2153437fa7d894cab4c244.tar.gz wolfbones-9a797e37f07ca227eb2153437fa7d894cab4c244.tar.bz2 |
reverted strerror and GetLastError way of logging, doesn't work that way!
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/log/log.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/wolf/log/log.h b/include/wolf/log/log.h index c5f2a46..b9f04b8 100644 --- a/include/wolf/log/log.h +++ b/include/wolf/log/log.h @@ -20,8 +20,6 @@ #include "port/stdbool.h" -#include <stdarg.h> /* for ap_list */ - /** * @addtogroup wolf_log Logging * @{ @@ -288,28 +286,6 @@ void wolf_log_reopenlogtoeventlog( void ); */ void wolf_log( wolf_log_level_t level, int category_id, int message_id, const char *format, ... ); -/** - * Write a formatted log message to the logger (with an ap_list instead - * of variable arguments) - * - * @param level one of wolf_log_level_t - * @param category_id a category as defined in messages.h - * @param message_id a message id as defined in messages.h - * @param format snprintf like format string, - * the rest of the parameters given - * as defined in the format string - * @param ap an ap_list storing the parameters to map - */ -void wolf_log_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); - -#if defined _WIN32 -void wolf_log_win32( wolf_log_level_t level, int category_id, int message_id, const char *format, ... ); -void wolf_log_win32_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); -#endif - -void wolf_log_strerror( wolf_log_level_t level, int category_id, int message_id, const char *format, ... ); -void wolf_log_strerror_ap( wolf_log_level_t level, int category_id, int message_id, const char *format, va_list ap ); - #ifdef __cplusplus } #endif |