| 限定符和类型 | 接口和说明 |
|---|---|
interface |
LocationAwareLog
位置感知日志接口,此接口用于通过传入当前全类名的方式来感知日志打印的行号
此方法主要用于在继续封装日志实现的时候行号错误的问题,继续封装时传入封装类的全类名即可解决这个问题 |
interface |
Log
日志统一接口
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractLocationAwareLog
抽象定位感知日志实现
|
class |
AbstractLog
抽象日志类
实现了一些通用的接口 |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ApacheCommonsLog
Apache Commons Logging
|
class |
ApacheCommonsLog4JLog
Apache Commons Logging for Log4j
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConsoleLog
利用System.out.println()打印日志
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
JdkLog
java.util.logging log.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Log4jLog
Apache Log4J log.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Log4j2Log
Apache Log4J 2 log.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Slf4jLog
SLF4J log.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
TinyLog
tinylog log.
|
Copyright © 2018. All rights reserved.