MCPcopy Index your code
hub / github.com/apache/tomcat / getLog

Method getLog

java/org/apache/juli/logging/LogFactory.java:184–186  ·  view source on GitHub ↗

Convenience method to return a named logger, without the application having to care about factories. @param clazz Class from which a log name will be derived @return A log instance with a name of clazz.getName() @exception LogConfigurationException if a suitable Log instance cannot b

(Class<?> clazz)

Source from the content-addressed store, hash-verified

182 * @exception LogConfigurationException if a suitable <code>Log</code> instance cannot be returned
183 */
184 public static Log getLog(Class<?> clazz) throws LogConfigurationException {
185 return getFactory().getInstance(clazz);
186 }
187
188
189 /**

Callers 15

ConnectionPoolClass · 0.95
PoolPropertiesClass · 0.95
DataSourceClass · 0.95
DataSourceProxyClass · 0.95
ClassLoaderUtilClass · 0.95
PooledConnectionClass · 0.95
StatementFacadeClass · 0.95
DataSourceFactoryClass · 0.95
ConnectionPoolClass · 0.95
JmxUtilClass · 0.95

Calls 2

getFactoryMethod · 0.95
getInstanceMethod · 0.65

Tested by 4

testBug57647Method · 0.76
testAuthenticationMethod · 0.76
setUpMethod · 0.76
resetLoggingMethod · 0.76