Home
last modified time | relevance | path

Searched refs:getLogger (Results 1 – 25 of 1297) sorted by relevance

12345678910>>...52

/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DLogger.java40 public static Logger getLogger(String name) { in getLogger() method in Logger
41 return Log4jLoggerFactory.getLogger(name); in getLogger()
44 public static Logger getLogger(String name, LoggerFactory loggerFactory) { in getLogger() method in Logger
45 return Log4jLoggerFactory.getLogger(name, loggerFactory); in getLogger()
48 public static Logger getLogger(Class clazz) { in getLogger() method in Logger
49 return getLogger(clazz.getName()); in getLogger()
58 return Log4jLoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME); in getRootLogger()
DLogManager.java41 return Log4jLoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME); in getRootLogger()
44 public static Logger getLogger(final String name) { in getLogger() method in LogManager
45 return Log4jLoggerFactory.getLogger(name); in getLogger()
48 public static Logger getLogger(final Class clazz) { in getLogger() method in LogManager
49 return Log4jLoggerFactory.getLogger(clazz.getName()); in getLogger()
63 public static Logger getLogger(String name, LoggerFactory loggerFactory) { in getLogger() method in LogManager
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogManagerTest.java109 Logger foo = mockManager.getLogger(FOO); in testAddGetLogger()
112 foo = mockManager.getLogger(FOO); in testAddGetLogger()
123 mockManager.getLogger(null); in testAddGetLogger()
128 assertNull(mockManager.getLogger("bad name")); in testAddGetLogger()
145 assertSame(foo, mockManager.getLogger(FOO)); in testAddGetLogger_duplicateName()
147 assertSame(foo, mockManager.getLogger(FOO)); in testAddGetLogger_duplicateName()
190 assertSame(manager.getLogger(""), manager.getLogger( in testAddGetLogger_Hierachy()
210 Logger realRoot = manager.getLogger(""); in testAddLoggerReverseOrder()
279 assertSame(foo, mockManager.getLogger(FOO)); in testAddGetLogger_nameWithSpace()
280 assertSame(fooBeforeSpace, mockManager.getLogger(FOO + " ")); in testAddGetLogger_nameWithSpace()
[all …]
DLoggerTest.java108 assertSame(Logger.global, Logger.getLogger("global")); in testGlobalLogger()
110 .getLogger("global")); in testGlobalLogger()
242 assertNull(LogManager.getLogManager().getLogger( in testGetLogger_Normal()
245 Logger log = Logger.getLogger("testGetLogger_Normal_ANewLogger"); in testGetLogger_Normal()
247 assertSame(log, Logger.getLogger("testGetLogger_Normal_ANewLogger")); in testGetLogger_Normal()
249 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_Normal()
275 assertNull(LogManager.getLogManager().getLogger( in testGetLogger_InvalidLevel()
278 Logger log = Logger.getLogger("testGetLogger_InvalidLevel_ANewLogger"); in testGetLogger_InvalidLevel()
281 .getLogger("testGetLogger_InvalidLevel_ANewLogger")); in testGetLogger_InvalidLevel()
283 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_InvalidLevel()
[all …]
/external/apache-http/src/org/apache/commons/logging/impl/
DJdk14Logger.java65 logger = getLogger(); in Jdk14Logger()
89 Logger logger = getLogger(); in log()
183 public Logger getLogger() { in getLogger() method in Jdk14Logger
185 logger = Logger.getLogger(name); in getLogger()
218 return (getLogger().isLoggable(Level.FINE)); in isDebugEnabled()
226 return (getLogger().isLoggable(Level.SEVERE)); in isErrorEnabled()
234 return (getLogger().isLoggable(Level.SEVERE)); in isFatalEnabled()
242 return (getLogger().isLoggable(Level.INFO)); in isInfoEnabled()
250 return (getLogger().isLoggable(Level.FINEST)); in isTraceEnabled()
258 return (getLogger().isLoggable(Level.WARNING)); in isWarnEnabled()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DSubstituteLoggerFactoryTest.java38 Logger log = factory.getLogger("foo"); in testFactory()
41 Logger log2 = factory.getLogger("foo"); in testFactory()
46 factory.getLogger("foo1"); in testLoggerNameList()
47 factory.getLogger("foo2"); in testLoggerNameList()
56 factory.getLogger("foo1"); in testLoggers()
57 factory.getLogger("foo2"); in testLoggers()
/external/slf4j/slf4j-simple/src/test/java/org/slf4j/
DDetectLoggerNameMismatchTest.java71 Logger logger = LoggerFactory.getLogger(String.class); in testNoTriggerWithoutProperty()
82 LoggerFactory.getLogger(String.class); in testTriggerWithProperty()
92 LoggerFactory.getLogger(String.class); in testTriggerWholeMessage()
103 Logger logger = LoggerFactory.getLogger(DetectLoggerNameMismatchTest.class); in testPassIfMatch()
130 public Logger logger = LoggerFactory.getLogger(getClass());
DInvocationTest.java56 Logger logger = LoggerFactory.getLogger("test1"); in test1()
65 Logger logger = LoggerFactory.getLogger("test2"); in test2()
85 Logger logger = LoggerFactory.getLogger("testNullParameter_BUG78"); in testNullParameter_BUG78()
92 Logger logger = LoggerFactory.getLogger("testNull"); in testNull()
106 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
/external/jmonkeyengine/engine/src/tools/jme3tools/savegame/
DSaveGame.java43 … Logger.getLogger(SaveGame.class.getName()).log(Level.SEVERE, "Error creating save file!"); in saveGame()
49 … Logger.getLogger(SaveGame.class.getName()).log(Level.SEVERE, "Error creating save file!"); in saveGame()
56 … Logger.getLogger(SaveGame.class.getName()).log(Level.SEVERE, "Error saving data: {0}", ex1); in saveGame()
65 … Logger.getLogger(SaveGame.class.getName()).log(Level.SEVERE, "Error saving data: {0}", ex1); in saveGame()
104 … Logger.getLogger(SaveGame.class.getName()).log(Level.SEVERE, "Error loading data: {0}", ex); in loadGame()
111 … Logger.getLogger(SaveGame.class.getName()).log(Level.SEVERE, "Error loading data: {0}", ex); in loadGame()
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/
DJDK14AdapterLoggerNameTest.java38 Logger logger = Logger.getLogger("TEST"); in setUp()
45 removeHandlers(Logger.getLogger("TEST")); in tearDown()
50 Logger.getLogger("TEST").info("test message"); in testLoggerNameusingJdkLogging()
57 org.slf4j.Logger logger = factory.getLogger("TEST"); in testLoggerNameUsingSlf4j()
/external/slf4j/slf4j-jcl/src/test/java/org/slf4j/
DInvocationTest.java40 java.util.logging.Logger root = java.util.logging.Logger.getLogger("");
58 Logger logger = LoggerFactory.getLogger("test1"); in test1()
67 Logger logger = LoggerFactory.getLogger("test2"); in test2()
86 Logger logger = LoggerFactory.getLogger("testNull"); in testNull()
100 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
/external/jetty/src/java/org/eclipse/jetty/util/log/
DLog.java242 Method getLogger = uberlog.getMethod("getLogger", new Class[]{String.class}); in setLogToParent() local
243 Object logger = getLogger.invoke(null,name); in setLogToParent()
253 setLog(getLogger(name)); in setLogToParent()
423 public static Logger getLogger(Class<?> clazz) in getLogger() method in Log
425 return getLogger(clazz.getName()); in getLogger()
433 public static Logger getLogger(String name) in getLogger() method in Log
443 logger = LOG.getLogger(name); in getLogger()
/external/slf4j/slf4j-log4j12/src/test/java/org/slf4j/
DInvocationTest.java62 Logger logger = LoggerFactory.getLogger("test1"); in test1()
72 Logger logger = LoggerFactory.getLogger("test2"); in test2()
94 Logger logger = LoggerFactory.getLogger("testNull"); in testNull()
111 Logger logger = LoggerFactory.getLogger("testNullParameter_BUG78"); in testNullParameter_BUG78()
122 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
/external/slf4j/slf4j-nop/src/test/java/org/slf4j/
DInvocationTest.java52 Logger logger = LoggerFactory.getLogger("test1"); in test1()
61 Logger logger = LoggerFactory.getLogger("test2"); in test2()
80 Logger logger = LoggerFactory.getLogger("testNull"); in testNull()
94 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/
DPhysicsSpace.java194 Logger.getLogger(PhysicsSpace.class.getName()).log(Level.SEVERE, null, ex); in preTick_native()
568 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding ghost object {0} to physics… in addGhostObject()
573 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Removing ghost object {0} from phy… in removeGhostObject()
578 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding character {0} to physics sp… in addCharacter()
586 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Removing character {0} from physic… in removeCharacter()
609 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding RigidBody {0} to physics sp… in addRigidBody()
611 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding vehicle constraint {0} to p… in addRigidBody()
618 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Removing vehicle constraint {0} fr… in removeRigidBody()
621 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Removing RigidBody {0} from physic… in removeRigidBody()
627 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding Joint {0} to physics space.… in addJoint()
[all …]
/external/slf4j/log4j-over-slf4j/src/test/java/org/dummy/
DBug139.java39 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); in test()
42 Logger log4jLogger = Logger.getLogger("a"); in test()
43 Category log4jCategory = Logger.getLogger("b"); in test()
DBug131.java40 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); in testBug131()
43 Logger log4jLogger = Logger.getLogger("a"); in testBug131()
44 Category log4jCategory = Logger.getLogger("b"); in testBug131()
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/
DInvocationTest.java51 java.util.logging.Logger root = java.util.logging.Logger.getLogger("");
71 Logger logger = LoggerFactory.getLogger("test1"); in test1()
82 Logger logger = LoggerFactory.getLogger("test2"); in verifyMessageFormatting()
112 Logger logger = LoggerFactory.getLogger("testNull"); in testNull()
127 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
/external/slf4j/slf4j-api/src/main/java/org/slf4j/
DLoggerFactory.java189 subLogger.setDelegate(getLogger(subLogger.getName())); in fixSubstitutedLoggers()
282 public static Logger getLogger(String name) { in getLogger() method in LoggerFactory
284 return iLoggerFactory.getLogger(name); in getLogger()
303 public static Logger getLogger(Class<?> clazz) { in getLogger() method in LoggerFactory
304 Logger logger = getLogger(clazz.getName()); in getLogger()
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/
DVideoRecorderAppState.java51 …Logger.getLogger(this.getClass().getName()).log(Level.INFO, "JME3 VideoRecorder running on {0} CPU… in VideoRecorderAppState()
56 …Logger.getLogger(this.getClass().getName()).log(Level.INFO, "JME3 VideoRecorder running on {0} CPU… in VideoRecorderAppState()
142 Logger.getLogger(VideoRecorderAppState.class.getName()).log(Level.SEVERE, null, ex); in addImage()
172 …Logger.getLogger(VideoRecorderAppState.class.getName()).log(Level.SEVERE, "Error creating file wri… in preFrame()
191 …Logger.getLogger(VideoRecorderAppState.class.getName()).log(Level.SEVERE, "Error closing video: {0… in cleanup()
/external/slf4j/jul-to-slf4j/src/test/java/org/slf4j/bridge/
DSLF4JBridgeHandlerPerfTest.java46 java.util.logging.Logger julRootLogger = LogManager.getLogManager().getLogger("");
48 java.util.logging.Logger julLogger = java.util.logging.Logger.getLogger(LOGGER_NAME);
49 org.slf4j.Logger slf4jLogger = LoggerFactory.getLogger(LOGGER_NAME);
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/
DPhysicsSpace.java247 Logger.getLogger(PhysicsSpace.class.getName()).log(Level.SEVERE, null, ex); in setTickCallback()
518 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding ghost object {0} to physics… in addGhostObject()
523 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Removing ghost object {0} from phy… in removeGhostObject()
528 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding character {0} to physics sp… in addCharacter()
535 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Removing character {0} from physic… in removeCharacter()
556 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding RigidBody {0} to physics sp… in addRigidBody()
558 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding vehicle constraint {0} to p… in addRigidBody()
566 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Removing vehicle constraint {0} fr… in removeRigidBody()
569 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Removing RigidBody {0} from physic… in removeRigidBody()
575 …Logger.getLogger(PhysicsSpace.class.getName()).log(Level.INFO, "Adding Joint {0} to physics space.… in addJoint()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/system/
DJmeSystem.java139 …Logger.getLogger(JmeSystem.class.getName()).log(Level.SEVERE, "No JmeSystemDelegate specified, can… in checkDelegate()
141 …Logger.getLogger(JmeSystem.class.getName()).log(Level.SEVERE, "No JmeSystemDelegate specified, can… in checkDelegate()
143 …Logger.getLogger(JmeSystem.class.getName()).log(Level.SEVERE, "No JmeSystemDelegate specified, can… in checkDelegate()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
DAssetTileLoader.java43 …Logger.getLogger(this.getClass().getName()).log(Level.INFO, "Load terrain grid tile: {0}", modelNa… in getTerrainQuadAt()
51 …Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "Could not load terrain grid tile: … in getTerrainQuadAt()
54 …Logger.getLogger(this.getClass().getName()).log(Level.INFO, "Loaded terrain grid tile: {0}", model… in getTerrainQuadAt()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/
DBulletAppState.java88 Logger.getLogger(BulletAppState.class.getName()).log(Level.SEVERE, null, ex); in startPhysicsOnExecutor()
91 Logger.getLogger(BulletAppState.class.getName()).log(Level.SEVERE, null, ex); in startPhysicsOnExecutor()
196 Logger.getLogger(BulletAppState.class.getName()).log(Level.SEVERE, null, ex); in postRender()
198 Logger.getLogger(BulletAppState.class.getName()).log(Level.SEVERE, null, ex); in postRender()

12345678910>>...52