aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Scene.hpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 13:40:21 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 13:40:21 +0100
commit2389b23459cf5b01c6ea1cbbcfeb2043e26e0a0c (patch)
tree6a5322838386657d90ff69776876262740774a7a /src/crepe/api/Scene.hpp
parentccbfb97a11cd931655f2762443ffc36f5f25e86f (diff)
parent876896e50711509e80ef551b4e8ad440e8039b97 (diff)
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/inputSystem
Diffstat (limited to 'src/crepe/api/Scene.hpp')
-rw-r--r--src/crepe/api/Scene.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/crepe/api/Scene.hpp b/src/crepe/api/Scene.hpp
new file mode 100644
index 0000000..14635df
--- /dev/null
+++ b/src/crepe/api/Scene.hpp
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "../util/Log.h"
+
+#include "Scene.h"
+
+namespace crepe {
+
+template <class... Args>
+void Scene::logf(const Log::Level & level, std::format_string<Args...> fmt, Args &&... args) {
+ Log::logf(level, fmt, std::forward<Args>(args)...);
+}
+
+template <class... Args>
+void Scene::logf(std::format_string<Args...> fmt, Args &&... args) {
+ Log::logf(fmt, std::forward<Args>(args)...);
+}
+
+} // namespace crepe