diff options
| author | Stefan Boberg <[email protected]> | 2021-09-09 11:03:49 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-09 11:03:49 +0200 |
| commit | 090d89eb62d660d6c854a5f8bc44293004d22462 (patch) | |
| tree | 6c6722ad99c0c2a0c764eeec7ecb76a39ffcce1c /zencore/include | |
| parent | Delete .zenroot (no longer useful) (diff) | |
| parent | printf -> zencore logging (diff) | |
| download | zen-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.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 |