matrixion/src/Logging.h
2019-11-23 20:06:15 +01:00

26 lines
365 B
C++

#pragma once
#include <memory>
#include <spdlog/spdlog.h>
namespace nhlog {
void
init(const std::string &file);
std::shared_ptr<spdlog::logger>
ui();
std::shared_ptr<spdlog::logger>
net();
std::shared_ptr<spdlog::logger>
db();
std::shared_ptr<spdlog::logger>
crypto();
std::shared_ptr<spdlog::logger>
qml();
extern bool enable_debug_log_from_commandline;
}