mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Config: Properly add more logging, fix bug
This commit is contained in:
parent
181003af89
commit
45854e2949
@ -84,10 +84,11 @@ void Config::Load()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Process `--websocket_debug` override
|
// Process `--websocket_debug` override
|
||||||
if (Utils::Platform::GetCommandLineFlagSet(CMDLINE_WEBSOCKET_DEBUG))
|
if (Utils::Platform::GetCommandLineFlagSet(CMDLINE_WEBSOCKET_DEBUG)) {
|
||||||
// Debug does not persist on reload, so we let people override it with a flag.
|
// Debug does not persist on reload, so we let people override it with a flag.
|
||||||
blog(LOG_INFO, "[Config::Load] --websocket_debug passed. Enabling debug logging.");
|
blog(LOG_INFO, "[Config::Load] --websocket_debug passed. Enabling debug logging.");
|
||||||
DebugEnabled = true;
|
DebugEnabled = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Config::Save()
|
void Config::Save()
|
||||||
|
Loading…
Reference in New Issue
Block a user