diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-14 11:29:09 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-14 11:29:09 +0100 |
commit | b6e835c5f9da24b78a005c6c8896ad35ac965234 (patch) | |
tree | 2d8f5cc147b7907137f6171b0e4c4269a8be4634 /src/crepe/api/Scene.hpp | |
parent | cd157f835eefd1c7876ba090817a7fca0a0fc085 (diff) | |
parent | b9fc66f6922b1f40f2dbe14e8dfc4caa469654bc (diff) |
Merge branch 'master' into loek/scripts
Diffstat (limited to 'src/crepe/api/Scene.hpp')
-rw-r--r-- | src/crepe/api/Scene.hpp | 19 |
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 |