public interface Logger
LoggerFactory.setLogger(Logger)
.
Modifier and Type | Method and Description |
---|---|
void |
debug(String message)
Log a debug message.
|
void |
error(String message)
Log an error message.
|
void |
error(String message, Exception e)
Log an error message and exception.
|
Logger |
getLogger(Class> klass) |
Logger |
getLogger(String name) |
void |
info(String message)
Log an info message.
|
boolean |
isLogging(Level level) |
void |
trace(String message)
Log a trace message.
|
void |
warn(String message)
Log a warning message.
|
Logger getLogger(Class> klass)
klass
-
boolean isLogging(Level level)
level
-
void warn(String message)
message
-
void trace(String message)
message
-
void debug(String message)
message
-
void info(String message)
message
-
void error(String message)
message
-
Copyright © 1998–2018. All rights reserved.