public class Slf4jESLogger extends AbstractESLogger
| コンストラクタと説明 |
|---|
Slf4jESLogger(String prefix,
org.slf4j.Logger logger) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getLevel()
Returns the current logger level
If the level is null, it means that the logger inherits its level
from its nearest ancestor with a specific (non-null) level value.
|
String |
getName() |
protected void |
internalDebug(String msg) |
protected void |
internalDebug(String msg,
Throwable cause) |
protected void |
internalError(String msg) |
protected void |
internalError(String msg,
Throwable cause) |
protected void |
internalInfo(String msg) |
protected void |
internalInfo(String msg,
Throwable cause) |
protected void |
internalTrace(String msg) |
protected void |
internalTrace(String msg,
Throwable cause) |
protected void |
internalWarn(String msg) |
protected void |
internalWarn(String msg,
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. |
protected org.slf4j.Logger |
logger() |
void |
setLevel(String level)
Allows to set the logger level
If the new level is null, the logger will inherit its level
from its nearest ancestor with a specific (non-null) level value.
|
public Slf4jESLogger(String prefix, org.slf4j.Logger logger)
public void setLevel(String level)
ESLoggerlevel - the new levelpublic String getLevel()
ESLoggerpublic String getName()
public boolean isTraceEnabled()
ESLoggertrue if a TRACE level message is logged.public boolean isDebugEnabled()
ESLoggertrue if a DEBUG level message is logged.public boolean isInfoEnabled()
ESLoggertrue if an INFO level message is logged.public boolean isWarnEnabled()
ESLoggertrue if a WARN level message is logged.public boolean isErrorEnabled()
ESLoggertrue if an ERROR level message is logged.protected void internalTrace(String msg)
internalTrace クラス内 AbstractESLoggerprotected void internalTrace(String msg, Throwable cause)
internalTrace クラス内 AbstractESLoggerprotected void internalDebug(String msg)
internalDebug クラス内 AbstractESLoggerprotected void internalDebug(String msg, Throwable cause)
internalDebug クラス内 AbstractESLoggerprotected void internalInfo(String msg)
internalInfo クラス内 AbstractESLoggerprotected void internalInfo(String msg, Throwable cause)
internalInfo クラス内 AbstractESLoggerprotected void internalWarn(String msg)
internalWarn クラス内 AbstractESLoggerprotected void internalWarn(String msg, Throwable cause)
internalWarn クラス内 AbstractESLoggerprotected void internalError(String msg)
internalError クラス内 AbstractESLoggerprotected void internalError(String msg, Throwable cause)
internalError クラス内 AbstractESLoggerprotected org.slf4j.Logger logger()
Copyright © 2009–2016. All rights reserved.