yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

lm: Use LOG_DEBUG for printing out trace logs

Using LOG_TRACE here isn't a good idea because LOG_TRACE is only enabled
when yuzu is compiled in debug mode. Debug mode is also quite slow, and
so we're potentially throwing away logging messages that can provide
value when trying to boot games.
This commit is contained in:
Lioncash 2018-08-15 01:07:39 -04:00
parent e0b0f4eece
commit b74df62959
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ private:
if (header.IsTailLog()) { if (header.IsTailLog()) {
switch (header.severity) { switch (header.severity) {
case MessageHeader::Severity::Trace: case MessageHeader::Severity::Trace:
LOG_TRACE(Debug_Emulated, "{}", log_stream.str()); LOG_DEBUG(Debug_Emulated, "{}", log_stream.str());
break; break;
case MessageHeader::Severity::Info: case MessageHeader::Severity::Info:
LOG_INFO(Debug_Emulated, "{}", log_stream.str()); LOG_INFO(Debug_Emulated, "{}", log_stream.str());