This commit is contained in:
gingerBill
2020-08-12 19:15:47 +01:00
parent 546759bdef
commit 674aeffee4

View File

@@ -21,7 +21,7 @@ multi_logger_proc :: proc(logger_data: rawptr, level: Level, text: string,
options: Options, location := #caller_location) {
data := cast(^Multi_Logger_Data)logger_data;
for log in data.loggers {
if level < logger.lowest_level {
if level < log.lowest_level {
return;
}
log.procedure(log.data, level, text, log.options, location);