MCPcopy
hub / github.com/qos-ch/slf4j / getLogger

Method getLogger

slf4j-api/src/main/java/org/slf4j/LoggerFactory.java:445–448  ·  view source on GitHub ↗

Return a logger named according to the name parameter using the statically bound ILoggerFactory instance. @param name The name of the logger. @return logger

(String name)

Source from the content-addressed store, hash-verified

443 * @return logger
444 */
445 public static Logger getLogger(String name) {
446 ILoggerFactory iLoggerFactory = getILoggerFactory();
447 return iLoggerFactory.getLogger(name);
448 }
449
450 /**
451 * Return a logger named corresponding to the class passed as parameter,

Callers 15

testMethod · 0.95
testMethod · 0.95
testMethod · 0.95
testMethod · 0.95
smokeMethod · 0.95
startMethod · 0.95
stopMethod · 0.95
test1Method · 0.95
test2Method · 0.95
testNullMethod · 0.95

Calls 7

getILoggerFactoryMethod · 0.95
getLoggerMethod · 0.95
getNameMethod · 0.95
getCallingClassMethod · 0.95
nonMatchingClassesMethod · 0.95
warnMethod · 0.95
formatMethod · 0.80

Tested by 15

testMethod · 0.76
testMethod · 0.76
testMethod · 0.76
testMethod · 0.76
smokeMethod · 0.76
startMethod · 0.76
stopMethod · 0.76
test1Method · 0.76
test2Method · 0.76
testNullMethod · 0.76