Skip to content
Snippets Groups Projects
Logging.h 542 B
Newer Older
  • Learn to ignore specific revisions
  • Nicolas Werner's avatar
    Nicolas Werner committed
    // SPDX-FileCopyrightText: 2021 Nheko Contributors
    
    // SPDX-FileCopyrightText: 2022 Nheko Contributors
    
    Nicolas Werner's avatar
    Nicolas Werner committed
    //
    // SPDX-License-Identifier: GPL-3.0-or-later
    
    
    #pragma once
    
    #include <memory>
    
    #include <string>
    
    #include <QString>
    
    #include "spdlog/logger.h"
    
    init(const QString &level, const QString &path, bool to_stderr);
    
    
    std::shared_ptr<spdlog::logger>
    
    
    std::shared_ptr<spdlog::logger>
    net();
    
    std::shared_ptr<spdlog::logger>
    db();
    
    
    std::shared_ptr<spdlog::logger>
    crypto();
    
    Nicolas Werner's avatar
    Nicolas Werner committed
    std::shared_ptr<spdlog::logger>
    qml();