matrixion/src/Logging.h

27 lines
365 B
C
Raw Normal View History

#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();
2019-10-28 00:49:49 +03:00
std::shared_ptr<spdlog::logger>
qml();
extern bool enable_debug_log_from_commandline;
}