mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Only silence logging during gameplay
This commit is contained in:
parent
8d54ddf426
commit
4aec48c2ca
4 changed files with 13 additions and 6 deletions
|
|
@ -38,17 +38,17 @@ namespace rpcs3::utils
|
|||
return thread_count;
|
||||
}
|
||||
|
||||
void configure_logs()
|
||||
void configure_logs(bool force_enable)
|
||||
{
|
||||
static bool was_silenced = false;
|
||||
|
||||
const bool silenced = g_cfg.misc.silence_all_logs.get();
|
||||
const bool silenced = g_cfg.misc.silence_all_logs.get() && !force_enable;
|
||||
|
||||
if (silenced)
|
||||
{
|
||||
if (!was_silenced)
|
||||
{
|
||||
sys_log.success("Disabling logging! Do not create issues on GitHub or on the forums while logging is disabled.");
|
||||
sys_log.always()("Disabling logging! Do not create issues on GitHub or on the forums while logging is disabled.");
|
||||
}
|
||||
|
||||
logs::silence();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue