Merge pull request #12160 from AdmiralCurtiss/achievement-log

Common/LogManager: Add logging category for Achievements.
This commit is contained in:
Admiral H. Curtiss 2023-09-19 22:01:15 +02:00 committed by GitHub
commit 579ccb0710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ namespace Common::Log
{
enum class LogType : int
{
ACHIEVEMENTS,
ACTIONREPLAY,
AUDIO,
AUDIO_INTERFACE,

View File

@ -96,6 +96,7 @@ static size_t DeterminePathCutOffPoint()
LogManager::LogManager()
{
// create log containers
m_log[LogType::ACHIEVEMENTS] = {"RetroAchievements", "Achievements"};
m_log[LogType::ACTIONREPLAY] = {"ActionReplay", "Action Replay"};
m_log[LogType::AUDIO] = {"Audio", "Audio Emulator"};
m_log[LogType::AUDIO_INTERFACE] = {"AI", "Audio Interface"};