turns a pattern off completely. All things that are associated with this pattern are removed, and a rule matching this pattern is added that eats this pattern without logging it anywhere
(String pattern)
| 82 | * that eats this pattern without logging it anywhere |
| 83 | */ |
| 84 | static public void disable(String pattern) { |
| 85 | off(pattern); |
| 86 | add(pattern, (m, s) -> { |
| 87 | }); |
| 88 | } |
| 89 | |
| 90 | /** |
| 91 | * sets the default action for messages that are not matched by anything (by default the default action is "println") |
no test coverage detected