backend.h 594 B

1234567891011121314151617181920212223242526
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "common/logging/filter.h"
  6. namespace Common::Log {
  7. class Filter;
  8. /// Initializes the logging system. This should be the first thing called in main.
  9. void Initialize();
  10. void Start();
  11. void DisableLoggingInTests();
  12. /**
  13. * The global filter will prevent any messages from even being processed if they are filtered.
  14. */
  15. void SetGlobalFilter(const Filter& filter);
  16. void SetColorConsoleBackendEnabled(bool enabled);
  17. } // namespace Common::Log