summary refs log tree commit diff
path: root/include/Logging.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Logging.hpp')
-rw-r--r--include/Logging.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/Logging.hpp b/include/Logging.hpp
new file mode 100644

index 00000000..c301d80d --- /dev/null +++ b/include/Logging.hpp
@@ -0,0 +1,18 @@ +#pragma once + +#include <memory> +#include <spdlog/spdlog.h> + +namespace log { +void +init(const std::string &file); + +std::shared_ptr<spdlog::logger> +main(); + +std::shared_ptr<spdlog::logger> +net(); + +std::shared_ptr<spdlog::logger> +db(); +}