aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-09 11:03:49 +0200
committerStefan Boberg <[email protected]>2021-09-09 11:03:49 +0200
commit090d89eb62d660d6c854a5f8bc44293004d22462 (patch)
tree6c6722ad99c0c2a0c764eeec7ecb76a39ffcce1c /zencore/include
parentDelete .zenroot (no longer useful) (diff)
parentprintf -> zencore logging (diff)
downloadzen-090d89eb62d660d6c854a5f8bc44293004d22462.tar.xz
zen-090d89eb62d660d6c854a5f8bc44293004d22462.zip
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/logging.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/zencore/include/zencore/logging.h b/zencore/include/zencore/logging.h
index e77314178..7a08cc48b 100644
--- a/zencore/include/zencore/logging.h
+++ b/zencore/include/zencore/logging.h
@@ -7,3 +7,17 @@
#include <spdlog/spdlog.h>
#include "postwindows.h"
// clang-format on
+
+#include <string_view>
+
+namespace zen::logging {
+
+spdlog::logger& Default();
+spdlog::logger& ConsoleLog();
+spdlog::logger& Get(std::string_view Name);
+
+void InitializeLogging();
+void ShutdownLogging();
+
+
+} // namespace zen::logging