Files
eden/src/common/logging/backend.h
T

26 lines
565 B
C++
Raw Normal View History

2022-05-15 02:06:02 +02:00
// SPDX-FileCopyrightText: 2014 Citra Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2021-06-13 10:31:47 -04:00
2014-10-28 05:36:00 -02:00
#pragma once
2018-07-02 11:10:41 -06:00
#include "common/logging/filter.h"
namespace Common::Log {
2014-10-28 05:36:00 -02:00
2015-05-12 02:19:44 -03:00
class Filter;
2021-08-13 18:39:45 +00:00
/// Initializes the logging system. This should be the first thing called in main.
void Initialize();
2018-07-02 11:10:41 -06:00
2021-11-01 18:36:27 -06:00
void Start();
2021-08-13 18:39:45 +00:00
void DisableLoggingInTests();
2018-07-02 11:10:41 -06:00
/**
2021-08-13 18:39:45 +00:00
* The global filter will prevent any messages from even being processed if they are filtered.
2018-07-02 11:10:41 -06:00
*/
void SetGlobalFilter(const Filter& filter);
2021-08-13 18:39:45 +00:00
void SetColorConsoleBackendEnabled(bool enabled);
} // namespace Common::Log