类 JdkLogger
- java.lang.Object
-
- com.alibaba.dubbo.common.logger.jdk.JdkLogger
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
debug(String msg)
Logs a message with debug log level.void
debug(String msg, Throwable e)
Logs an error with debug log level.void
debug(Throwable e)
Logs an error with debug log level.void
error(String msg)
Logs a message with error log level.void
error(String msg, Throwable e)
Logs an error with error log level.void
error(Throwable e)
Logs an error with error log level.void
info(String msg)
Logs a message with info log level.void
info(String msg, Throwable e)
Logs an error with info log level.void
info(Throwable e)
Logs an error with info log level.boolean
isDebugEnabled()
Is debug logging currently enabled?boolean
isErrorEnabled()
Is error logging currently enabled?boolean
isInfoEnabled()
Is info logging currently enabled?boolean
isTraceEnabled()
Is trace logging currently enabled?boolean
isWarnEnabled()
Is warn logging currently enabled?void
trace(String msg)
Logs a message with trace log level.void
trace(String msg, Throwable e)
Logs an error with trace log level.void
trace(Throwable e)
Logs an error with trace log level.void
warn(String msg)
Logs a message with warn log level.void
warn(String msg, Throwable e)
Logs a message with warn log level.void
warn(Throwable e)
Logs a message with warn log level.
-
-
-
构造器详细资料
-
JdkLogger
public JdkLogger(Logger logger)
-
-
方法详细资料
-
trace
public void trace(String msg, Throwable e)
从接口复制的说明:Logger
Logs an error with trace log level.
-
debug
public void debug(String msg, Throwable e)
从接口复制的说明:Logger
Logs an error with debug log level.
-
error
public void error(String msg, Throwable e)
从接口复制的说明:Logger
Logs an error with error log level.
-
isTraceEnabled
public boolean isTraceEnabled()
从接口复制的说明:Logger
Is trace logging currently enabled?- 指定者:
isTraceEnabled
在接口中Logger
- 返回:
- true if trace is enabled
-
isDebugEnabled
public boolean isDebugEnabled()
从接口复制的说明:Logger
Is debug logging currently enabled?- 指定者:
isDebugEnabled
在接口中Logger
- 返回:
- true if debug is enabled
-
isInfoEnabled
public boolean isInfoEnabled()
从接口复制的说明:Logger
Is info logging currently enabled?- 指定者:
isInfoEnabled
在接口中Logger
- 返回:
- true if info is enabled
-
isWarnEnabled
public boolean isWarnEnabled()
从接口复制的说明:Logger
Is warn logging currently enabled?- 指定者:
isWarnEnabled
在接口中Logger
- 返回:
- true if warn is enabled
-
isErrorEnabled
public boolean isErrorEnabled()
从接口复制的说明:Logger
Is error logging currently enabled?- 指定者:
isErrorEnabled
在接口中Logger
- 返回:
- true if error is enabled
-
-