Content deleted Content added
m Task 18 (cosmetic): eval 4 templates: hyphenate params (2×); |
correcting the java example |
||
Line 53:
A logger is created using a chain of loggers, each one configured with different log levels.
<syntaxhighlight lang="java" line="1">
import java.util.Arrays;
import java.util.EnumSet;
Line 97:
return writeLogger(levels, msg -> System.err.println("Writing to Log File: " + msg));
}
}
class Runner {
public static void main(String[] args) {
// Build an immutable chain of responsibility
|