summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/callbacks.c4
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);
}