本文整理了Java中org.apache.juli.logging.LogFactory.getInstance()
方法的一些代码示例,展示了LogFactory.getInstance()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LogFactory.getInstance()
方法的具体详情如下:
包路径:org.apache.juli.logging.LogFactory
类名称:LogFactory
方法名:getInstance
[英]Convenience method to derive a name from the specified class and call getInstance(String)
with it.
[中]从指定类派生名称并使用该名称调用getInstance(String)
的便利方法。
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Convenience method to derive a name from the specified class and
* call <code>getInstance(String)</code> with it.
*
* @param clazz Class for which a suitable Log name will be derived
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public Log getInstance(Class<?> clazz)
throws LogConfigurationException {
return getInstance( clazz.getName());
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* 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
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(Class<?> clazz)
throws LogConfigurationException {
return (getFactory().getInstance(clazz));
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Convenience method to return a named logger, without the application
* having to care about factories.
*
* @param name Logical name of the <code>Log</code> instance to be
* returned (the meaning of this name is only known to the underlying
* logging implementation that is being wrapped)
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(String name)
throws LogConfigurationException {
return (getFactory().getInstance(name));
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Convenience method to derive a name from the specified class and
* call <code>getInstance(String)</code> with it.
*
* @param clazz Class for which a suitable Log name will be derived
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public Log getInstance(Class<?> clazz)
throws LogConfigurationException {
return getInstance( clazz.getName());
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Convenience method to derive a name from the specified class and
* call <code>getInstance(String)</code> with it.
*
* @param clazz Class for which a suitable Log name will be derived
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public Log getInstance(Class<?> clazz)
throws LogConfigurationException {
return getInstance( clazz.getName());
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Convenience method to derive a name from the specified class and
* call <code>getInstance(String)</code> with it.
*
* @param clazz Class for which a suitable Log name will be derived
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public Log getInstance(Class<?> clazz)
throws LogConfigurationException {
return getInstance( clazz.getName());
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/juli
/**
* Convenience method to derive a name from the specified class and
* call <code>getInstance(String)</code> with it.
*
* @param clazz Class for which a suitable Log name will be derived
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public Log getInstance(Class<?> clazz)
throws LogConfigurationException {
return getInstance( clazz.getName());
}
代码示例来源:origin: org.apache.juli/com.springsource.org.apache.juli.extras
/**
* Convenience method to derive a name from the specified class and
* call <code>getInstance(String)</code> with it.
*
* @param clazz Class for which a suitable Log name will be derived
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public Log getInstance(Class<?> clazz)
throws LogConfigurationException {
return getInstance( clazz.getName());
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Convenience method to derive a name from the specified class and
* call <code>getInstance(String)</code> with it.
*
* @param clazz Class for which a suitable Log name will be derived
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public Log getInstance(Class<?> clazz)
throws LogConfigurationException {
return getInstance( clazz.getName());
}
代码示例来源:origin: org.apache.openejb/tomee-juli
public Log getInstance(final Class<?> clazz)
throws LogConfigurationException {
return getInstance( clazz.getName());
}
代码示例来源:origin: ops4j/org.ops4j.pax.logging
/**
* Convenience method to derive a name from the specified class and
* call <code>getInstance(String)</code> with it.
*
* @param clazz Class for which a suitable Log name will be derived
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public Log getInstance(Class clazz)
throws LogConfigurationException {
return getInstance( clazz.getName() );
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* 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
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(Class<?> clazz)
throws LogConfigurationException {
return (getFactory().getInstance(clazz));
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* 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
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(Class<?> clazz)
throws LogConfigurationException {
return (getFactory().getInstance(clazz));
}
代码示例来源:origin: org.apache.juli/com.springsource.org.apache.juli.extras
/**
* 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
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(Class<?> clazz)
throws LogConfigurationException {
return (getFactory().getInstance(clazz));
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/juli
/**
* 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
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(Class<?> clazz)
throws LogConfigurationException {
return (getFactory().getInstance(clazz));
}
代码示例来源:origin: org.apache.openejb/tomee-juli
public static Log getLog(final Class<?> clazz)
throws LogConfigurationException {
return getFactory().getInstance(clazz);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* 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
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(Class<?> clazz)
throws LogConfigurationException {
return (getFactory().getInstance(clazz));
}
代码示例来源:origin: org.apache.openejb/tomee-juli
public static Log getLog(final String name)
throws LogConfigurationException {
return getFactory().getInstance(name);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* 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
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(Class<?> clazz)
throws LogConfigurationException {
return (getFactory().getInstance(clazz));
}
代码示例来源:origin: ops4j/org.ops4j.pax.logging
/**
* 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
*
* @exception LogConfigurationException if a suitable <code>Log</code>
* instance cannot be returned
*/
public static Log getLog(Class clazz)
throws LogConfigurationException {
return (getFactory().getInstance(clazz));
}
内容来源于网络,如有侵权,请联系作者删除!