mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-29 23:41:19 -06:00
Core: Force logging of critical errors (#4061)
* Ignore enabled flag on critical log entries This ensures critical errors (asserts and unreachables) are logged when the log file exceeds 100MB, or when logging is disabled. * I apparently need sleep
This commit is contained in:
parent
1eb09ab440
commit
248b3e2d30
@ -70,7 +70,7 @@ public:
|
||||
~FileBackend() = default;
|
||||
|
||||
void Write(const Entry& entry) {
|
||||
if (!enabled) {
|
||||
if (!enabled && entry.log_level != Level::Critical) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user