MCPcopy Create free account
hub / github.com/banq/jdonframework / uselog4j

Method uselog4j

src/main/java/com/jdon/util/Debug.java:132–138  ·  view source on GitHub ↗
(int level, Throwable t, String msg, String module, String callingClass)

Source from the content-addressed store, hash-verified

130 }
131
132 private static void uselog4j(int level, Throwable t, String msg, String module, String callingClass) {
133 Logger logger = getLogger(module);
134 if (logger.isDebugEnabled())
135 logger.debug(msg.intern(), t);
136 else
137 uselog4j2(t, msg, module);
138 }
139
140 private static void uselog4j2(Throwable t, String msg, String module) {
141 Logger logger = getLogger(module);

Callers 1

logMethod · 0.95

Calls 2

getLoggerMethod · 0.95
uselog4j2Method · 0.95

Tested by

no test coverage detected