2021-03-05 02:35:15 +03:00
|
|
|
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
2022-01-01 06:57:53 +03:00
|
|
|
// SPDX-FileCopyrightText: 2022 Nheko Contributors
|
2021-03-05 02:35:15 +03:00
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2018-06-09 16:03:14 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
2022-06-17 04:11:31 +03:00
|
|
|
#include <spdlog/logger.h>
|
2018-06-09 16:03:14 +03:00
|
|
|
|
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
|
|
|
}
|