Allow tracing to be lowered to ERROR #1000

This commit is contained in:
Ian Craggs 2020-12-22 16:17:08 +00:00
parent 466965509a
commit 9942cb107a
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ void Log_setTraceCallback(Log_traceCallback* callback)
void Log_setTraceLevel(enum LOG_LEVELS level)
{
if (level < TRACE_MINIMUM) /* the lowest we can go is TRACE_MINIMUM*/
if (level < LOG_ERROR) /* the lowest we can go is LOG_ERROR */
trace_settings.trace_level = level;
trace_output_level = level;
}