public interface Logger
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLoggable(java.util.logging.Level level)
Returns true if the given log level will be logged.
|
void |
log(java.util.logging.Level level,
java.lang.String pattern,
java.lang.Object... parts)
Concatenate the given strings and log them at the given level.
|
void |
log(java.util.logging.Level level,
java.lang.Throwable t,
java.lang.String pattern,
java.lang.Object... msg)
Log a message with associated Throwable information.
|
void |
logToChild(java.lang.String childName,
java.util.logging.Level level,
java.lang.String pattern,
java.lang.Object... parts)
Concatenate the given strings and log them at the given level.
|
boolean isLoggable(java.util.logging.Level level)
log(Level, String, Object...) methods with the message broken into parts. The overhead of the
concatenation will not be incurred if the log level isn't met.level - void log(java.util.logging.Level level,
java.lang.String pattern,
java.lang.Object... parts)
Class.getName() will be used.level - pattern - A message format pattern in the MessageFormat style.parts - void log(java.util.logging.Level level,
java.lang.Throwable t,
java.lang.String pattern,
java.lang.Object... msg)
pattern - A message format pattern in the MessageFormat style.void logToChild(java.lang.String childName,
java.util.logging.Level level,
java.lang.String pattern,
java.lang.Object... parts)
Class.getName() will be used.level - pattern - A message format pattern in the MessageFormat style.parts -