mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-22 07:31:10 +00:00
Merge pull request #7057 from FourteenBrush/patch-7
`core:log`: make multi logger use all loggers instead of breaking on first non match
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