Enum Class的使用
com.aizuda.easy.retry.common.log.level.Level
使用Level的程序包
程序包
说明
第三方日志库的实现封装
Apache-Commons-Logging日志库的实现封装
控制台输出的实现封装
jboss-logging实现
JDK-Logging的实现封装
Log4j的实现封装
Log4j2的实现封装
LogTube的实现封装
Slf4j的实现封装
tinylog的实现封装
封装包括TinyLog和TinyLog2
封装包括TinyLog和TinyLog2
按照日志级别定义的日志打印接口定义
-
com.aizuda.easy.retry.common.log.dialect中Level的使用
修饰符和类型方法说明booleanboolean是否开启指定日志voidvoidvoid打印指定级别的日志void打印 指定级别的日志void打印 ERROR 等级的日志 -
com.aizuda.easy.retry.common.log.dialect.commons中Level的使用
-
com.aizuda.easy.retry.common.log.dialect.console中Level的使用
修饰符和类型方法说明booleanvoidConsoleColorLog.log(String fqcn, Level level, Throwable t, String format, Boolean remote, Object... arguments) voidConsoleLog.log(String fqcn, Level level, Throwable t, String format, Boolean remote, Object... arguments) static void设置自定义的日志显示级别类型变量类型为Level的com.aizuda.easy.retry.common.log.dialect.console中的方法参数修饰符和类型方法说明static voidConsoleColorLog.setColorFactory(Function<Level, cn.hutool.core.lang.ansi.AnsiColor> colorFactory) 设置颜色工厂,根据日志级别,定义不同的颜色 -
com.aizuda.easy.retry.common.log.dialect.jboss中Level的使用
-
com.aizuda.easy.retry.common.log.dialect.jdk中Level的使用
-
com.aizuda.easy.retry.common.log.dialect.log4j中Level的使用
-
com.aizuda.easy.retry.common.log.dialect.log4j2中Level的使用
-
com.aizuda.easy.retry.common.log.dialect.logtube中Level的使用
-
com.aizuda.easy.retry.common.log.dialect.slf4j中Level的使用
-
com.aizuda.easy.retry.common.log.dialect.tinylog中Level的使用
-
com.aizuda.easy.retry.common.log.level中Level的使用
-
com.aizuda.easy.retry.common.log.strategy中Level的使用