aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/serd/log.h')
-rw-r--r--include/serd/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/serd/log.h b/include/serd/log.h
index a9261131..b0c43d61 100644
--- a/include/serd/log.h
+++ b/include/serd/log.h
@@ -7,9 +7,9 @@
#include "serd/attributes.h"
#include "serd/caret.h"
#include "serd/status.h"
-#include "serd/string_view.h"
#include "serd/world.h"
#include "zix/attributes.h"
+#include "zix/string_view.h"
#include <stdarg.h>
#include <stddef.h>
@@ -70,7 +70,7 @@ typedef SerdStatus (*SerdLogFunc)(void* ZIX_NULLABLE handle,
SerdLogLevel level,
size_t n_fields,
const SerdLogField* ZIX_NULLABLE fields,
- SerdStringView message);
+ ZixStringView message);
/// A #SerdLogFunc that does nothing (for suppressing log output)
SERD_CONST_API SerdStatus
@@ -78,7 +78,7 @@ serd_quiet_log_func(void* ZIX_NULLABLE handle,
SerdLogLevel level,
size_t n_fields,
const SerdLogField* ZIX_NULLABLE fields,
- SerdStringView message);
+ ZixStringView message);
/**
Set a function to be called with log messages (typically errors).