接口 Logger
- 所有已知实现类:
JavaLoggingAdapter
public interface Logger
The universal logger SPI interface.
Notice: the placeholder only supports the most popular placeholder convention (slf4j). So, if you're not using slf4j, you should create adapters compatible with placeholders "{}".
- 从以下版本开始:
- 1.7.2
- 作者:
- xue8
-
方法概要
修饰符和类型方法说明voidLog a message at the DEBUG level according to the specified format and arguments.voidLog an exception (throwable) at the DEBUG level with an accompanying message.voidLog a message at the ERROR level according to the specified format and arguments.voidLog an exception (throwable) at the ERROR level with an accompanying message.voidLog a message at the INFO level according to the specified format and arguments.voidLog an exception (throwable) at the INFO level with an accompanying message.voidLog a message at the TRACE level according to the specified format and arguments.voidLog an exception (throwable) at the TRACE level with an accompanying message.voidLog a message at the WARN level according to the specified format and arguments.voidLog an exception (throwable) at the WARN level with an accompanying message.
-
方法详细资料
-
info
Log a message at the INFO level according to the specified format and arguments.- 参数:
format- the format stringarguments- a list of arguments
-
info
Log an exception (throwable) at the INFO level with an accompanying message.- 参数:
msg- the message accompanying the exceptione- the exception (throwable) to log
-
warn
Log a message at the WARN level according to the specified format and arguments.- 参数:
format- the format stringarguments- a list of arguments
-
warn
Log an exception (throwable) at the WARN level with an accompanying message.- 参数:
msg- the message accompanying the exceptione- the exception (throwable) to log
-
trace
Log a message at the TRACE level according to the specified format and arguments.- 参数:
format- the format stringarguments- a list of arguments
-
trace
Log an exception (throwable) at the TRACE level with an accompanying message.- 参数:
msg- the message accompanying the exceptione- the exception (throwable) to log
-
debug
Log a message at the DEBUG level according to the specified format and arguments.- 参数:
format- the format stringarguments- a list of arguments
-
debug
Log an exception (throwable) at the DEBUG level with an accompanying message.- 参数:
msg- the message accompanying the exceptione- the exception (throwable) to log
-
error
Log a message at the ERROR level according to the specified format and arguments.- 参数:
format- the format stringarguments- a list of arguments
-
error
Log an exception (throwable) at the ERROR level with an accompanying message.- 参数:
msg- the message accompanying the exceptione- the exception (throwable) to log
-