Searched refs:log4jLogger (Results 1 – 4 of 4) sorted by relevance
25 org.apache.log4j.Logger log4jLogger; field in LoggerTest38 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 …]
43 Logger log4jLogger = Logger.getLogger("a"); in testBug131() local48 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()
42 Logger log4jLogger = Logger.getLogger("a"); in test() local47 log4jLogger.log(org.apache.log4j.Level.DEBUG, "hello" + (++n)); in test()
59 org.apache.log4j.Logger log4jLogger; in getLogger() local61 log4jLogger = LogManager.getRootLogger(); in getLogger()63 log4jLogger = LogManager.getLogger(name); in getLogger()65 Logger newInstance = new Log4jLoggerAdapter(log4jLogger); in getLogger()