adds a pattern to be logged. This rule is of higher priority than anything previously called "on" (and lower than anything subsequently called "on"). Previous rules identical to "pattern" are removed.
(String pattern, BiConsumer<String, Object> to)
| 61 | * called "on"). Previous rules identical to "pattern" are removed. |
| 62 | */ |
| 63 | static public void on(String pattern, BiConsumer<String, Object> to) { |
| 64 | off(pattern); |
| 65 | add(pattern, to); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * turns a pattern off, by removing anything else associated with this pattern. If other rules (including the default) capture this output it |
no test coverage detected