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