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
|
2023-01-02 06:25:33 +03:00
|
|
|
// SPDX-FileCopyrightText: 2023 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-08-23 22:47:52 +03:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
#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
|
2022-08-23 22:47:52 +03:00
|
|
|
init(const QString &level, const QString &path, bool to_stderr);
|
2018-06-09 16:03:14 +03:00
|
|
|
|
|
|
|
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();
|
|
|
|
|
2018-06-09 16:03:14 +03:00
|
|
|
}
|