public interface Logger
| 限定符和类型 | 方法和说明 |
|---|---|
void |
debug(String msg)
Log a message at the DEBUG level.
|
default void |
debug(String msg,
Object... args)
Log a message at the DEBUG level. support format.
|
void |
error(String msg)
Log a message at the ERROR level.
|
default void |
error(String msg,
Object... args)
Log a message at the ERROR level. support format.
|
void |
error(String msg,
Throwable t)
Log an exception (throwable) at the ERROR level with an
accompanying message.
|
void |
info(String msg)
Log a message at the INFO level.
|
default void |
info(String msg,
Object... args)
Log a message at the INFO level. support format.
|
void |
warn(String msg)
Log a message at the WARN level.
|
default void |
warn(String msg,
Object... args)
Log a message at the WARN level. support format.
|
void debug(String msg)
msg - the message string to be loggeddefault void debug(String msg, Object... args)
msg - args - void info(String msg)
msg - the message string to be loggeddefault void info(String msg, Object... args)
msg - args - void warn(String msg)
msg - the message string to be loggeddefault void warn(String msg, Object... args)
msg - args - void error(String msg)
msg - the message string to be loggeddefault void error(String msg, Object... args)
msg - args - Copyright © 2020. All rights reserved.