diff options
| author | Stefan Boberg <[email protected]> | 2021-09-08 19:10:59 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-08 19:21:21 +0200 |
| commit | e44740f9bf2846e69e8c01d7b1f7a7b8545af6b6 (patch) | |
| tree | faba4bdd2810150d5c9e991998d2b55cb5c8c1be /zencore/include | |
| parent | Merge branch 'main' of https://github.com/EpicGames/zen (diff) | |
| download | zen-e44740f9bf2846e69e8c01d7b1f7a7b8545af6b6.tar.xz zen-e44740f9bf2846e69e8c01d7b1f7a7b8545af6b6.zip | |
Moved a bunch of logging code into zencore
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/logging.h | 14 |
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 |