mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
31 lines
516 B
C++
31 lines
516 B
C++
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
|
// SPDX-FileCopyrightText: 2022 Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <spdlog/spdlog.h>
|
|
|
|
namespace nhlog {
|
|
void
|
|
init(const std::string &file);
|
|
|
|
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();
|
|
|
|
extern bool enable_debug_log_from_commandline;
|
|
}
|