mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
96f791daf1
See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
33 lines
486 B
C++
33 lines
486 B
C++
// SPDX-FileCopyrightText: Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#include <QString>
|
|
|
|
#include "spdlog/logger.h"
|
|
|
|
namespace nhlog {
|
|
void
|
|
init(const QString &level, const QString &path, bool to_stderr);
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
ui();
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
net();
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
db();
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
crypto();
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
qml();
|
|
|
|
}
|