diff options
Diffstat (limited to 'core/callbacks.c')
-rw-r--r-- | core/callbacks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/callbacks.c b/core/callbacks.c index 8cda252..03b7c46 100644 --- a/core/callbacks.c +++ b/core/callbacks.c @@ -1,6 +1,6 @@ #include <rune/core/callbacks.h> -#include <stdio.h> +#include <rune/core/logging.h> void error_callback(int error, const char *desc) { - fprintf(stderr, "Error %d: %s\n", error, desc); + log_output(LOG_ERROR, "%d: %s\n", error, desc); } |