mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2025-01-03 22:07:00 +00:00
27 lines
594 B
C++
27 lines
594 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#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();
|
|
|
|
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
|