/
githubmirror
/
yuzu
Обзор
Документация
Войти
/
githubmirror
/
yuzu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/common/logging/backend.h
28 строк
642 B
FearlessTobi
assert/logging: Stop the logging thread and flush the backends before crashing
26 дек 2023, 12:35
26 дек 2023, 12:35
4f569fd
Код
Авторство
О чём код?
// SPDX-FileCopyrightText: 2014 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include "common/logging/filter.h" namespace Common::Log { class Filter; /// Initializes the logging system. This should be the first thing called in main. void Initialize(); void Start(); /// Explicitly stops the logger thread and flushes the buffers void Stop(); void DisableLoggingInTests(); /** * The global filter will prevent any messages from even being processed if they are filtered. */ void SetGlobalFilter(const Filter& filter); void SetColorConsoleBackendEnabled(bool enabled); } // namespace Common::Log