MCPcopy Create free account
hub / github.com/PCGen/pcgen / log

Method log

code/src/java/pcgen/util/Logging.java:408–415  ·  view source on GitHub ↗

Log a message if logging is enabled at the supplied level of detail. @param lvl The detail level of the message @param msg String message

(final Level lvl, final String msg)

Source from the content-addressed store, hash-verified

406 * @param msg String message
407 */
408 public static void log(final Level lvl, final String msg)
409 {
410 Logger l = getLogger();
411 if (l.isLoggable(lvl))
412 {
413 l.log(lvl, msg);
414 }
415 }
416
417 /**
418 * Log a message with a stack trace, if logging is enabled at the

Callers 15

runMethod · 0.95
processMethod · 0.95
parseTokenMethod · 0.95
getDateMethod · 0.95
parseMethod · 0.95
processMethod · 0.95
parseMethod · 0.95
parseMethod · 0.95
parseMethod · 0.95
parseMethod · 0.95
parseMethod · 0.95
parseMethod · 0.95

Calls 2

getLoggerMethod · 0.95
isLoggableMethod · 0.80

Tested by 5

showErrorMessageMethod · 0.76
showInfoMessageMethod · 0.76
findFieldMethod · 0.36