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

Method on

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

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)

Source from the content-addressed store, hash-verified

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

Callers 15

initializeMethod · 0.95
ReloadMethod · 0.95
makePathForHandlesFunction · 0.45
brackets.jsFile · 0.45
AutosizeInputFunction · 0.45
jshint.jsFile · 0.45
scopeManagerFunction · 0.45
itselfFunction · 0.45
changehooks.jsFile · 0.45
makeColorPickerFunction · 0.45
WFunction · 0.45
tFunction · 0.45

Calls 2

offMethod · 0.95
addMethod · 0.95

Tested by

no test coverage detected