aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/Log.hpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 15:50:13 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 15:50:13 +0100
commit5e59c22f77073fdf49bf98697da6a68819eb5776 (patch)
treeed53c8306c93825e9a33d642ae976ec97eb94fb1 /src/crepe/util/Log.hpp
parent7ec392eda3345606f0de75a432954b221cee82ce (diff)
`make format`
Diffstat (limited to 'src/crepe/util/Log.hpp')
-rw-r--r--src/crepe/util/Log.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/crepe/util/Log.hpp b/src/crepe/util/Log.hpp
index 58ba475..651f076 100644
--- a/src/crepe/util/Log.hpp
+++ b/src/crepe/util/Log.hpp
@@ -4,15 +4,15 @@
namespace crepe {
-template<class... Args>
-void Log::logf(std::format_string<Args...> fmt, Args&&... args) {
+template <class... Args>
+void Log::logf(std::format_string<Args...> fmt, Args &&... args) {
Log::logf(Level::INFO, fmt, std::forward<Args>(args)...);
}
-template<class... Args>
-void Log::logf(const Level & level, std::format_string<Args...> fmt, Args&&... args) {
+template <class... Args>
+void Log::logf(const Level & level, std::format_string<Args...> fmt,
+ Args &&... args) {
Log::log(level, std::format(fmt, std::forward<Args>(args)...));
}
-}
-
+} // namespace crepe