diff options
Diffstat (limited to 'deimos/core/log.cpp')
-rw-r--r-- | deimos/core/log.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deimos/core/log.cpp b/deimos/core/log.cpp index 3ba4fbc..e05c360 100644 --- a/deimos/core/log.cpp +++ b/deimos/core/log.cpp @@ -35,8 +35,7 @@ public: m_writer(os_console_api, OsConsoleType::kStdOut)
{}
- // @Todo Use string views
- void Log(LogSeverity severity, const SourceLocation& location, Span<const char> msg) override
+ void Log(LogSeverity severity, const SourceLocation& location, StringView msg) override
{
Format(&m_writer, "$[ $ ] $:$: $\033[0m\n", SeverityToColor(severity),
SeverityToStr(severity), location.file, location.line, msg);
|