public interface ExtendedLogger extends Logger
Logger interface with methods that facilitate implementing or extending
Loggers. Users should not need to use this interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled(Level
Determines if logging is enabled.
|
boolean |
isEnabled(Level
Determines if logging is enabled.
|
boolean |
isEnabled(Level
Determine if logging is enabled.
|
boolean |
isEnabled(Level
Determines if logging is enabled.
|
boolean |
isEnabled(Level
Determines if logging is enabled.
|
void |
logIfEnabled(String
Logs a message which is only to be constructed if the specified level is active.
|
void |
logIfEnabled(String
Logs a message if the specified level is active.
|
void |
logIfEnabled(String
Logs a message if the specified level is active.
|
void |
logIfEnabled(String
Logs a message if the specified level is active.
|
void |
logIfEnabled(String
Logs a message if the specified level is active.
|
void |
logIfEnabled(String
Logs a message whose parameters are only to be constructed if the specified level is active.
|
void |
logIfEnabled(String
Logs a message if the specified level is active.
|
void |
logIfEnabled(String
Logs a message which is only to be constructed if the specified level is active.
|
void |
logMessage(String
Always logs a message at the specified level.
|
catching, catching, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, entry, entry, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, error, exit, exit, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, getLevel, getMessageFactory, getName, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isEnabled, isEnabled, isErrorEnabled, isErrorEnabled, isFatalEnabled, isFatalEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, printf, printf, throwing, throwing, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warnboolean isEnabled(Levellevel, Marker marker, Message message, Throwable t)
level - The logging Level to check.
marker - A Marker or null.
message - The Message.
t - A Throwable.
boolean isEnabled(Levellevel, Marker marker, Object message, Throwable t)
level - The logging Level to check.
marker - A Marker or null.
message - The message.
t - A Throwable.
boolean isEnabled(Levellevel, Marker marker, String message, Throwable t)
level - The logging Level to check.
marker - A Marker or null.
message - The message.
t - the exception to log, including its stack trace.
boolean isEnabled(Levellevel, Marker marker, String message)
level - The logging Level to check.
marker - A Marker or null.
message - The message.
boolean isEnabled(Levellevel, Marker marker, String message, Object ... params)
level - The logging Level to check.
marker - A Marker or null.
message - The message.
params - The parameters.
void logIfEnabled(Stringfqcn, Level level, Marker marker, Message message, Throwable t)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
message - The Message.
t - the exception to log, including its stack trace.
void logIfEnabled(Stringfqcn, Level level, Marker marker, Object message, Throwable t)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
message - The message.
t - the exception to log, including its stack trace.
void logIfEnabled(Stringfqcn, Level level, Marker marker, String message, Throwable t)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
message - The message.
t - the exception to log, including its stack trace.
void logIfEnabled(Stringfqcn, Level level, Marker marker, String message)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
message - The message.
void logIfEnabled(Stringfqcn, Level level, Marker marker, String message, Object ... params)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
message - The message format.
params - The message parameters.
void logMessage(Stringfqcn, Level level, Marker marker, Message message, Throwable t)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
message - The Message.
t - the exception to log, including its stack trace.
void logIfEnabled(Stringfqcn, Level level, Marker marker, MessageSupplier msgSupplier, Throwable t)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
msgSupplier - A function, which when called, produces the desired log message.
t - the exception to log, including its stack trace.
void logIfEnabled(Stringfqcn, Level level, Marker marker, String message, Supplier <?>... paramSuppliers)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
message - The message format.
paramSuppliers - An array of functions, which when called, produce the desired log message parameters.
void logIfEnabled(Stringfqcn, Level level, Marker marker, Supplier <?> msgSupplier, Throwable t)
fqcn - The fully qualified class name of the logger entry point, used to determine the caller class and method when location information needs to be logged.
level - The logging Level to check.
marker - A Marker or null.
msgSupplier - A function, which when called, produces the desired log message.
t - the exception to log, including its stack trace.