| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAware
抽象日志类
实现了一些通用的接口
|
| Modifier and Type | Method and Description |
|---|---|
abstract Log |
LogFactory.createLog(Class<?> clazz)
创建日志对象
|
abstract Log |
LogFactory.createLog(String name)
创建日志对象
|
static Log |
Logger.get() |
static Log |
LogFactory.get() |
static Log |
Logger.get(Class<?> clazz)
获得Log
|
static Log |
LogFactory.get(Class<?> clazz)
获得日志对象
|
static Log |
Logger.get(String name)
获得Log
|
static Log |
LogFactory.get(String name)
获得日志对象
|
Log |
LogFactory.getLog(Class<?> clazz)
获得日志对象
|
Log |
LogFactory.getLog(String name)
获得日志对象
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Logger.debug(Log log,
String format,
Object... arguments)
Debug等级日志,小于Info
|
static void |
Logger.error(Log log,
String format,
Object... arguments)
Error等级日志
|
static void |
Logger.error(Log log,
Throwable e)
Error等级日志
|
static void |
Logger.error(Log log,
Throwable e,
String format,
Object... arguments)
Error等级日志
|
static void |
Logger.info(Log log,
String format,
Object... arguments)
Info等级日志,小于Warn
|
static void |
Logger.trace(Log log,
String format,
Object... arguments)
Trace等级日志,小于Debug
|
static void |
Logger.warn(Log log,
String format,
Object... arguments)
Warn等级日志,小于Error
|
static void |
Logger.warn(Log log,
Throwable e,
String format,
Object... arguments)
Warn等级日志,小于Error
|
| Modifier and Type | Class and Description |
|---|---|
class |
ApacheCommonsLog
Apache Commons Logging
|
class |
ApacheCommonsLog4JLog
Apache Commons Logging for Log4j
|
| Modifier and Type | Method and Description |
|---|---|
Log |
ApacheCommonsLogFactory.createLog(Class<?> clazz) |
Log |
ApacheCommonsLogFactory.createLog(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConsoleLog
利用System.out.println()打印日志
|
| Modifier and Type | Method and Description |
|---|---|
Log |
ConsoleLogFactory.createLog(Class<?> clazz) |
Log |
ConsoleLogFactory.createLog(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
JbossLog
Jboss-Logging log.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
JbossLogFactory.createLog(Class<?> clazz) |
Log |
JbossLogFactory.createLog(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
JdkLog
java.util.logging log.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
JdkLogFactory.createLog(Class<?> clazz) |
Log |
JdkLogFactory.createLog(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
Log4jLog
Apache Log4J log.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
Log4jLogFactory.createLog(Class<?> clazz) |
Log |
Log4jLogFactory.createLog(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
Log4j2Log
Apache Log4J 2 log.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
Log4j2LogFactory.createLog(Class<?> clazz) |
Log |
Log4j2LogFactory.createLog(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
Slf4jLog
SLF4J log.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
Slf4jLogFactory.createLog(Class<?> clazz) |
Log |
Slf4jLogFactory.createLog(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
TinyLog
tinylog log.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
TinyLogFactory.createLog(Class<?> clazz) |
Log |
TinyLogFactory.createLog(String name) |
Copyright © 2020. All rights reserved.