diff options
Diffstat (limited to 'src/crepe/api/Scene.hpp')
-rw-r--r-- | src/crepe/api/Scene.hpp | 11 |
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 |