1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-01-30 03:26:55 -06:00

27 lines
594 B
C++
Raw Normal View History

2014-10-28 05:36:00 -02:00
// Copyright 2014 Citra Emulator Project
2014-12-16 21:38:14 -08:00
// Licensed under GPLv2 or any later version
2014-10-28 05:36:00 -02:00
// Refer to the license.txt file included.
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
class Filter;
/// Initializes the logging system. This should be the first thing called in main.
void Initialize();
2018-07-02 11:10:41 -06:00
void Start();
void DisableLoggingInTests();
2018-07-02 11:10:41 -06: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);
void SetColorConsoleBackendEnabled(bool enabled);
} // namespace Common::Log