summaryrefslogtreecommitdiff
path: root/deimos/core/log.h
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-24 20:47:57 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-24 20:47:57 +0200
commit31c220c7178f3a8ae7a803e46d3d568d7ff56848 (patch)
treef1fc84611cb2403ff8f7d34b9590f284e1d6a1f6 /deimos/core/log.h
parent98c8fd5d39ee645922f071b6433308a813245500 (diff)
Reword custom formatter to be simpler
Diffstat (limited to 'deimos/core/log.h')
-rw-r--r--deimos/core/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deimos/core/log.h b/deimos/core/log.h
index 260d9a4..9bb4dbb 100644
--- a/deimos/core/log.h
+++ b/deimos/core/log.h
@@ -50,19 +50,19 @@ public:
template<Formattable... Args>
void LogInfo(const LogSourceLocation& fmt_source_location, Args&&... args)
{
- LogVa(LogSeverity::kInfo, fmt_source_location.source_location, fmt_source_location.fmt, { DeimosMakeFormatArg(std::forward<Args>(args))... });
+ LogVa(LogSeverity::kInfo, fmt_source_location.source_location, fmt_source_location.fmt, { FormatArg(std::forward<Args>(args))... });
}
template<Formattable... Args>
void LogDebug(const LogSourceLocation& fmt_source_location, Args&&... args)
{
- LogVa(LogSeverity::kDebug, fmt_source_location.source_location, fmt_source_location.fmt, { DeimosMakeFormatArg(std::forward<Args>(args))... });
+ LogVa(LogSeverity::kDebug, fmt_source_location.source_location, fmt_source_location.fmt, { FormatArg(std::forward<Args>(args))... });
}
template<Formattable... Args>
void LogError(const LogSourceLocation& fmt_source_location, Args&&... args)
{
- LogVa(LogSeverity::kError, fmt_source_location.source_location, fmt_source_location.fmt, { DeimosMakeFormatArg(std::forward<Args>(args))... });
+ LogVa(LogSeverity::kError, fmt_source_location.source_location, fmt_source_location.fmt, { FormatArg(std::forward<Args>(args))... });
}
};