2023-02-21 23:48:49 +01:00
|
|
|
// SPDX-FileCopyrightText: Nheko Contributors
|
2021-03-05 00:35:15 +01:00
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2018-06-09 15:03:14 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
2022-08-23 21:47:52 +02:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
#include "spdlog/logger.h"
|
2018-06-09 15:03:14 +02:00
|
|
|
|
2018-06-14 01:28:35 +02:00
|
|
|
namespace nhlog {
|
2018-06-09 15:03:14 +02:00
|
|
|
void
|
2022-08-23 21:47:52 +02:00
|
|
|
init(const QString &level, const QString &path, bool to_stderr);
|
2018-06-09 15:03:14 +02:00
|
|
|
|
|
|
|
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();
|
|
|
|
|
2018-06-09 15:03:14 +02:00
|
|
|
}
|