Content deleted Content added
m updated flow of example |
m →Java example: clearer variable name |
||
Line 77:
}
static Logger logger(LogLevel[] levels, Consumer<String>
EnumSet<LogLevel> set = EnumSet.copyOf(Arrays.asList(levels));
return (msg, severity) -> {
if (set.contains(severity)) {
}
};
|