org.elasticsearch.common.logging
Class ESLoggerFactory
java.lang.Object
org.elasticsearch.common.logging.ESLoggerFactory
- Direct Known Subclasses:
- JdkESLoggerFactory, Log4jESLoggerFactory, Slf4jESLoggerFactory
public abstract class ESLoggerFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ESLoggerFactory
public ESLoggerFactory()
setDefaultFactory
public static void setDefaultFactory(ESLoggerFactory defaultFactory)
- Changes the default factory.
getLogger
public static ESLogger getLogger(java.lang.String prefix,
java.lang.String name)
getLogger
public static ESLogger getLogger(java.lang.String name)
newInstance
public ESLogger newInstance(java.lang.String name)
newInstance
protected abstract ESLogger newInstance(java.lang.String prefix,
java.lang.String name)