| 限定符和类型 | 方法和说明 |
|---|---|
void |
debug(String msg)
Log a message at the DEBUG level.
|
void |
error(String msg)
Log a message at the ERROR level.
|
void |
error(String msg,
Throwable t)
Log an exception (throwable) at the ERROR level with an
accompanying message.
|
static Logger |
getLogger(Class clz) |
static Logger |
getLogger(String loggerName) |
void |
info(String msg)
Log a message at the INFO level.
|
void |
warn(String msg)
Log a message at the WARN level.
|
Copyright © 2020. All rights reserved.