aboutsummaryrefslogtreecommitdiff
path: root/source/include/wanda/logging.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2022-09-16 23:28:09 +0200
committerFelix Morgner <felix.morgner@gmail.com>2022-09-16 23:28:09 +0200
commitf4d9880d3c9555b48affad727589ef5c093b1841 (patch)
treea5552b5a33000a527748ac1c72ca366476af0936 /source/include/wanda/logging.hpp
parent64922e213ac731279cf3341253e67509adb2dfc8 (diff)
downloadwanda-f4d9880d3c9555b48affad727589ef5c093b1841.tar.xz
wanda-f4d9880d3c9555b48affad727589ef5c093b1841.zip
source: clean up structure
Diffstat (limited to 'source/include/wanda/logging.hpp')
-rw-r--r--source/include/wanda/logging.hpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/source/include/wanda/logging.hpp b/source/include/wanda/logging.hpp
deleted file mode 100644
index b3c1665..0000000
--- a/source/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