From 98c8fd5d39ee645922f071b6433308a813245500 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 24 Apr 2024 00:29:16 +0200 Subject: Add custom formatter & use it on Status --- deimos/core/log.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deimos/core/log.h') diff --git a/deimos/core/log.h b/deimos/core/log.h index 9bb4dbb..260d9a4 100644 --- a/deimos/core/log.h +++ b/deimos/core/log.h @@ -50,19 +50,19 @@ public: template void LogInfo(const LogSourceLocation& fmt_source_location, Args&&... args) { - LogVa(LogSeverity::kInfo, fmt_source_location.source_location, fmt_source_location.fmt, { FormatArg(std::forward(args))... }); + LogVa(LogSeverity::kInfo, fmt_source_location.source_location, fmt_source_location.fmt, { DeimosMakeFormatArg(std::forward(args))... }); } template void LogDebug(const LogSourceLocation& fmt_source_location, Args&&... args) { - LogVa(LogSeverity::kDebug, fmt_source_location.source_location, fmt_source_location.fmt, { FormatArg(std::forward(args))... }); + LogVa(LogSeverity::kDebug, fmt_source_location.source_location, fmt_source_location.fmt, { DeimosMakeFormatArg(std::forward(args))... }); } template void LogError(const LogSourceLocation& fmt_source_location, Args&&... args) { - LogVa(LogSeverity::kError, fmt_source_location.source_location, fmt_source_location.fmt, { FormatArg(std::forward(args))... }); + LogVa(LogSeverity::kError, fmt_source_location.source_location, fmt_source_location.fmt, { DeimosMakeFormatArg(std::forward(args))... }); } }; -- cgit