Fix incorrect priority filtering. Move ??? to features.

This commit is contained in:
Christoffer Lerno
2025-08-30 13:22:10 +02:00
parent bc3d9d761f
commit b757f1447b
2 changed files with 2 additions and 2 deletions

View File

@@ -137,7 +137,7 @@ macro void init()
fn void call_log(LogPriority prio, LogCategory category, String fmt, args...)
{
LogPriority priority = mem::@atomic_load(config_priorities[category], UNORDERED);
if (priority < prio) return;
if (priority > prio) return;
init();
bool locked = logger_mutex.is_initialized() && @ok(logger_mutex.lock());
Logger logger = current_logger;