summaryrefslogtreecommitdiff
path: root/deimos/core/log.h
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-13 00:04:42 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-13 00:04:48 +0200
commit00143afc01dbca797471181105738042e89f15ae (patch)
treed2b3fa92ed5d17ae5a145758bed637f996cbd501 /deimos/core/log.h
parent8db26a7350aad53ed73a127f9b8eb6ef15bf0be1 (diff)
Use string view everywhere
Diffstat (limited to 'deimos/core/log.h')
-rw-r--r--deimos/core/log.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/deimos/core/log.h b/deimos/core/log.h
index 323d246..9bb4dbb 100644
--- a/deimos/core/log.h
+++ b/deimos/core/log.h
@@ -21,8 +21,7 @@ public:
deimos_NO_COPY_MOVE(ILogger);
virtual ~ILogger() = default;
- // @Todo Use string view
- virtual void Log(LogSeverity, const SourceLocation&, Span<const char>) = 0;
+ virtual void Log(LogSeverity, const SourceLocation&, StringView) = 0;
};
// Just a helper to pass a SourceLocation without having to write {} to logging functions.