MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / disable

Method disable

src/main/java/field/utility/Log.java:84–88  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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")

Callers 4

initializeMethod · 0.95
jFunction · 0.45
show-hint.jsFile · 0.45

Calls 2

offMethod · 0.95
addMethod · 0.95

Tested by

no test coverage detected