diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2023-08-17 12:32:50 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2023-08-17 12:32:50 +0200 |
| commit | 375799fa79d1af76f33299acc20a11a167a021f8 (patch) | |
| tree | 8f91b982ec96225c33a2f4871730ababffe5cab0 /source/lib/include/wanda/logging.hpp | |
| parent | af471b9b780869915d3217b228e24d025892de47 (diff) | |
| download | wanda-375799fa79d1af76f33299acc20a11a167a021f8.tar.xz wanda-375799fa79d1af76f33299acc20a11a167a021f8.zip | |
project: restructure libraries and build env
Diffstat (limited to 'source/lib/include/wanda/logging.hpp')
| -rw-r--r-- | source/lib/include/wanda/logging.hpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/source/lib/include/wanda/logging.hpp b/source/lib/include/wanda/logging.hpp deleted file mode 100644 index b3c1665..0000000 --- a/source/lib/include/wanda/logging.hpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @file logging.hpp - * @author Felix Morgner (felix.morgner@gmail.com) - * @since 1.0.0 - */ - -#ifndef WANDA_LOGGING_HPP -#define WANDA_LOGGING_HPP - -#include <spdlog/sinks/null_sink.h> -#include <spdlog/spdlog.h> - -#include <memory> - -namespace wanda -{ - /** - * @brief A covenience alias to represent a handle for a logger - */ - using logger_ptr = std::shared_ptr<spdlog::logger>; - - /** - * @brief Initialize the shared logger - * - * @note The logger will only ever be initialized once, even if this function is called multiple times - */ - void initialize_logger(spdlog::sink_ptr sink = std::make_shared<spdlog::sinks::null_sink_st>()); - - /** - * @brief Get the shared logger - */ - logger_ptr get_logger(); -} // namespace wanda - -#endif
\ No newline at end of file |
