|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.common.logging.support.AbstractESLogger org.elasticsearch.common.logging.jdk.JdkESLogger
public class JdkESLogger
Constructor Summary | |
---|---|
JdkESLogger(java.lang.String prefix,
java.lang.String name,
java.util.logging.Logger logger)
|
Method Summary | |
---|---|
java.lang.String |
getName()
|
protected void |
internalDebug(java.lang.String msg)
|
protected void |
internalDebug(java.lang.String msg,
java.lang.Throwable cause)
|
protected void |
internalError(java.lang.String msg)
|
protected void |
internalError(java.lang.String msg,
java.lang.Throwable cause)
|
protected void |
internalInfo(java.lang.String msg)
|
protected void |
internalInfo(java.lang.String msg,
java.lang.Throwable cause)
|
protected void |
internalTrace(java.lang.String msg)
|
protected void |
internalTrace(java.lang.String msg,
java.lang.Throwable cause)
|
protected void |
internalWarn(java.lang.String msg)
|
protected void |
internalWarn(java.lang.String msg,
java.lang.Throwable cause)
|
boolean |
isDebugEnabled()
Returns true if a DEBUG level message is logged. |
boolean |
isErrorEnabled()
Returns true if an ERROR level message is logged. |
boolean |
isInfoEnabled()
Returns true if an INFO level message is logged. |
boolean |
isTraceEnabled()
Returns true if a TRACE level message is logged. |
boolean |
isWarnEnabled()
Returns true if a WARN level message is logged. |
Methods inherited from class org.elasticsearch.common.logging.support.AbstractESLogger |
---|
debug, debug, error, error, getPrefix, info, info, trace, trace, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdkESLogger(java.lang.String prefix, java.lang.String name, java.util.logging.Logger logger)
Method Detail |
---|
public java.lang.String getName()
public boolean isTraceEnabled()
ESLogger
true
if a TRACE level message is logged.
public boolean isDebugEnabled()
ESLogger
true
if a DEBUG level message is logged.
public boolean isInfoEnabled()
ESLogger
true
if an INFO level message is logged.
public boolean isWarnEnabled()
ESLogger
true
if a WARN level message is logged.
public boolean isErrorEnabled()
ESLogger
true
if an ERROR level message is logged.
protected void internalTrace(java.lang.String msg)
internalTrace
in class AbstractESLogger
protected void internalTrace(java.lang.String msg, java.lang.Throwable cause)
internalTrace
in class AbstractESLogger
protected void internalDebug(java.lang.String msg)
internalDebug
in class AbstractESLogger
protected void internalDebug(java.lang.String msg, java.lang.Throwable cause)
internalDebug
in class AbstractESLogger
protected void internalInfo(java.lang.String msg)
internalInfo
in class AbstractESLogger
protected void internalInfo(java.lang.String msg, java.lang.Throwable cause)
internalInfo
in class AbstractESLogger
protected void internalWarn(java.lang.String msg)
internalWarn
in class AbstractESLogger
protected void internalWarn(java.lang.String msg, java.lang.Throwable cause)
internalWarn
in class AbstractESLogger
protected void internalError(java.lang.String msg)
internalError
in class AbstractESLogger
protected void internalError(java.lang.String msg, java.lang.Throwable cause)
internalError
in class AbstractESLogger
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |