diff options
| author | Stefan Boberg <[email protected]> | 2021-09-08 19:10:59 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-08 19:10:59 +0200 |
| commit | f04eebe974a08922c74b28d3b08d1edc97496c47 (patch) | |
| tree | 7ced15c6aa2758d6fa52f69ecb545e743e6f4040 /zencore/include | |
| parent | Merged from main (diff) | |
| download | zen-f04eebe974a08922c74b28d3b08d1edc97496c47.tar.xz zen-f04eebe974a08922c74b28d3b08d1edc97496c47.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 |