push method
Implementation
void push(BaseLog log) {
if (log.type == LogType.message) {
final message = log as Message;
Set<String> appenderNames = {};
for (final logger in loggers) {
if (message.tag!.startsWith(logger.key) && message.severity.index <= logger.severity.index) {
appenderNames.add(logger.appender.name);
}
}
for (final name in appenderNames) {
appenders[name]!.push(log);
}
} else {
appenders.forEach((_, appender) => appender.push(log));
}
}