mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-22 15:32:35 +00:00
core:log: make multi logger use all loggerts instead of breaking on first one with lower level
This commit is contained in:
@@ -48,7 +48,7 @@ multi_logger_proc :: proc(logger_data: rawptr, level: Level, text: string,
|
||||
data := cast(^Multi_Logger_Data)logger_data
|
||||
for log in data.loggers {
|
||||
if level < log.lowest_level {
|
||||
return
|
||||
continue
|
||||
}
|
||||
log.procedure(log.data, level, text, log.options, location)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user