2021-03-05 02:35:15 +03:00
|
|
|
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2018-06-09 16:03:14 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <spdlog/spdlog.h>
|
|
|
|
|
2018-06-14 02:28:35 +03:00
|
|
|
namespace nhlog {
|
2018-06-09 16:03:14 +03:00
|
|
|
void
|
|
|
|
init(const std::string &file);
|
|
|
|
|
|
|
|
std::shared_ptr<spdlog::logger>
|
2018-06-14 02:28:35 +03:00
|
|
|
ui();
|
2018-06-09 16:03:14 +03:00
|
|
|
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
|
|
net();
|
|
|
|
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
|
|
db();
|
2018-06-10 20:03:45 +03:00
|
|
|
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
|
|
crypto();
|
2019-08-26 02:24:56 +03:00
|
|
|
|
2019-10-28 00:49:49 +03:00
|
|
|
std::shared_ptr<spdlog::logger>
|
|
|
|
qml();
|
|
|
|
|
2019-08-26 02:24:56 +03:00
|
|
|
extern bool enable_debug_log_from_commandline;
|
2018-06-09 16:03:14 +03:00
|
|
|
}
|