public interface Log
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
getLogger() |
Log |
getLogger(Class<?> clazz) |
Log |
getLogger(String name) |
void |
info(String msg)
Log a message at the INFO level.
|
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isOff() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
trace(String msg)
Log a message at the TRACE level.
|
void |
warn(String msg)
Log a message at the WARN level.
|
boolean isTraceEnabled()
void trace(String msg)
msg - the message string to be loggedboolean isDebugEnabled()
void debug(String msg)
msg - the message string to be loggedboolean isInfoEnabled()
void info(String msg)
msg - the message string to be loggedboolean isWarnEnabled()
void warn(String msg)
msg - the message string to be loggedboolean isErrorEnabled()
void error(String msg)
msg - the message string to be loggedboolean isOff()
Log getLogger()
Copyright © 2020. All rights reserved.