aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Scene.hpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-13 18:43:12 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-13 18:43:12 +0100
commit128e7975eb6417438fcf6f51224b6067554a2004 (patch)
tree93df522472657da6824647142505d9e0907c4d5c /src/crepe/api/Scene.hpp
parent5a8ae8b82019afbb5aa40f4fbcf45a9df82d43f3 (diff)
added feedback
Diffstat (limited to 'src/crepe/api/Scene.hpp')
-rw-r--r--src/crepe/api/Scene.hpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/crepe/api/Scene.hpp b/src/crepe/api/Scene.hpp
index ecb21ed..14635df 100644
--- a/src/crepe/api/Scene.hpp
+++ b/src/crepe/api/Scene.hpp
@@ -6,9 +6,14 @@
namespace crepe {
-template <typename... Args>
-void Scene::logf(Args &&... args) {
- Log::logf(std::forward<Args>(args)...);
+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