adds a pattern to be logged. This rule is of higher priority than anything previously called "on" (and lower than anything subsequently called "on").
(String pattern, BiConsumer<String, Object> to)
| 52 | * called "on"). |
| 53 | */ |
| 54 | static public void add(String pattern, BiConsumer<String, Object> to) { |
| 55 | earlyFail.invalidateAll(); |
| 56 | active.addFirst(new Pair<>(Pattern.compile(pattern), to)); |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * adds a pattern to be logged. This rule is of higher priority than anything previously called "on" (and lower than anything subsequently |
no test coverage detected