Home
last modified time | relevance | path

Searched refs:log4jLogger (Results 1 – 4 of 4) sorted by relevance

/external/slf4j/log4j-over-slf4j/compatibility/src/main/java/test/
DLoggerTest.java25 org.apache.log4j.Logger log4jLogger; field in LoggerTest
38 log4jLogger = org.apache.log4j.Logger.getLogger(LoggerTest.class); in setUp()
49 log4jLogger = null; in tearDown()
56 log4jLogger.debug("test"); in testLogWithObjectMessages()
61 log4jLogger.debug(null); in testLogWithObjectMessages()
67 log4jLogger.debug(dummy); in testLogWithObjectMessages()
74 assertFalse(log4jLogger.isTraceEnabled()); in testIsEnabledAPI()
75 assertTrue(log4jLogger.isDebugEnabled()); in testIsEnabledAPI()
76 assertTrue(log4jLogger.isInfoEnabled()); in testIsEnabledAPI()
77 assertTrue(log4jLogger.isWarnEnabled()); in testIsEnabledAPI()
[all …]
/external/slf4j/log4j-over-slf4j/src/test/java/org/dummy/
DBug131.java43 Logger log4jLogger = Logger.getLogger("a"); in testBug131() local
48 log4jLogger.trace("msg" + (n++)); in testBug131()
49 log4jLogger.debug("msg" + (n++)); in testBug131()
50 log4jLogger.info("msg" + (n++)); in testBug131()
51 log4jLogger.warn("msg" + (n++)); in testBug131()
52 log4jLogger.error("msg" + (n++)); in testBug131()
53 log4jLogger.fatal("msg" + (n++)); in testBug131()
DBug139.java42 Logger log4jLogger = Logger.getLogger("a"); in test() local
47 log4jLogger.log(org.apache.log4j.Level.DEBUG, "hello" + (++n)); in test()
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DLog4jLoggerFactory.java59 org.apache.log4j.Logger log4jLogger; in getLogger() local
61 log4jLogger = LogManager.getRootLogger(); in getLogger()
63 log4jLogger = LogManager.getLogger(name); in getLogger()
65 Logger newInstance = new Log4jLoggerAdapter(log4jLogger); in getLogger()