如果我使用 slf4j 并且类路径不包含记录器实现,则它默认为 NOP 记录器操作。这对我来说没问题。但是有什么办法可以抑制最初的错误消息吗?
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1520 次 |
| 最近记录: |