| 程序包 | 说明 |
|---|---|
| com.xiaoleilu.hutool.log | |
| com.xiaoleilu.hutool.log.dialect |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractLog
抽象日志类
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Log |
StaticLog.get() |
static Log |
StaticLog.get(Class<?> clazz)
获得Log
|
static Log |
StaticLog.get(String name)
获得Log
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
StaticLog.debug(Log log,
String format,
Object... arguments)
Debug等级日志,小于Info
|
static void |
StaticLog.error(Log log,
String format,
Object... arguments)
Error等级日志
|
static void |
StaticLog.error(Log log,
Throwable e)
Error等级日志
|
static void |
StaticLog.error(Log log,
Throwable e,
String format,
Object... arguments)
Error等级日志
|
static void |
StaticLog.info(Log log,
String format,
Object... arguments)
Info等级日志,小于Warn
|
static void |
StaticLog.trace(Log log,
String format,
Object... arguments)
Trace等级日志,小于Debug
|
static void |
StaticLog.warn(Log log,
String format,
Object... arguments)
Warn等级日志,小于Error
|
static void |
StaticLog.warn(Log log,
Throwable e,
String format,
Object... arguments)
Warn等级日志,小于Error
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ApacheCommonsLog
Apache Log4J log.
|
class |
JdkLog
java.util.logging log.
|
class |
Log4j2Log
Apache Log4J 2 log.
|
class |
Log4jLog
Apache Log4J log.
|
class |
Slf4jLog
SLF4J log.
|
Copyright © 2015. All rights reserved.