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

Method add

src/main/java/field/utility/Log.java:54–57  ·  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").

(String pattern, BiConsumer<String, Object> to)

Source from the content-addressed store, hash-verified

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

Callers 15

onMethod · 0.95
disableMethod · 0.95
linearizeMethod · 0.45
normalizeMethod · 0.45
alternativesForMethod · 0.45
getCompletionsForMethod · 0.45
goMethod · 0.45
diff_mainMethod · 0.45
diff_computeMethod · 0.45
diff_lineModeMethod · 0.45
diff_bisectMethod · 0.45

Calls 1

compileMethod · 0.80

Tested by

no test coverage detected