backend.h 565 B

12345678910111213141516171819202122232425
  1. // SPDX-FileCopyrightText: 2014 Citra Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include "common/logging/filter.h"
  5. namespace Common::Log {
  6. class Filter;
  7. /// Initializes the logging system. This should be the first thing called in main.
  8. void Initialize();
  9. void Start();
  10. void DisableLoggingInTests();
  11. /**
  12. * The global filter will prevent any messages from even being processed if they are filtered.
  13. */
  14. void SetGlobalFilter(const Filter& filter);
  15. void SetColorConsoleBackendEnabled(bool enabled);
  16. } // namespace Common::Log