CharSequence based log methods but also Supplier
based variants for use with Java 8 lambda expressions.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | debug(Throwable
the exception to log cause, CharSequence the message to log message)Log an error with debug log level. |
| public void | debug(Supplier<? extends CharSequence>
a lazy supplier for the message to log messageSupplier)Log a message with debug log level. |
| public void | debug(Throwable
the exception to log cause, Supplier<? extends CharSequence> a lazy supplier for the message to log messageSupplier)Log an error with debug log level. |
| public void | |
| public void | error(Throwable
the exception to log cause, CharSequence the message to log message)Log an error with error log level. |
| public void | error(Supplier<? extends CharSequence>
a lazy supplier for the message to log messageSupplier)Log a message with error log level. |
| public void | error(Throwable
the exception to log cause, Supplier<? extends CharSequence> a lazy supplier for the message to log messageSupplier)Log an error with error log level. |
| public void | |
| public void | fatal(Throwable
the exception to log cause, CharSequence the message to log message)Log an error with fatal log level. |
| public void | fatal(Supplier<? extends CharSequence>
a lazy supplier for the message to log messageSupplier)Log a message with fatal log level. |
| public void | fatal(Throwable
the exception to log cause, Supplier<? extends CharSequence> a lazy supplier for the message to log messageSupplier)Log an error with fatal log level. |
| public final Log | |
| public void | |
| public void | info(Throwable
the exception to log cause, CharSequence the message to log message)Log an error with info log level. |
| public void | info(Supplier<? extends CharSequence>
a lazy supplier for the message to log messageSupplier)Log a message with info log level. |
| public void | info(Throwable
the exception to log cause, Supplier<? extends CharSequence> a lazy supplier for the message to log messageSupplier)Log an error with info log level. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | trace(Throwable
the exception to log cause, CharSequence the message to log message)Log an error with trace log level. |
| public void | trace(Supplier<? extends CharSequence>
a lazy supplier for the message to log messageSupplier)Log a message with trace log level. |
| public void | trace(Throwable
the exception to log cause, Supplier<? extends CharSequence> a lazy supplier for the message to log messageSupplier)Log an error with trace log level. |
| public void | |
| public void | warn(Throwable
the exception to log cause, CharSequence the message to log message)Log an error with warn log level. |
| public void | warn(Supplier<? extends CharSequence>
a lazy supplier for the message to log messageSupplier)Log a message with warn log level. |
| public void | warn(Throwable
the exception to log cause, Supplier<? extends CharSequence> a lazy supplier for the message to log messageSupplier)Log an error with warn log level. |
| log | back to summary |
|---|---|
| private final Log log | |
| LogAccessor | back to summary |
|---|---|
| public LogAccessor(Log log) Create a new accessor for the given Commons Log. | |
| LogAccessor | back to summary |
|---|---|
| public LogAccessor(Class<?> logCategory) Create a new accessor for the specified Commons Log category.
| |
| LogAccessor | back to summary |
|---|---|
| public LogAccessor(String logCategory) Create a new accessor for the specified Commons Log category.
| |
| debug | back to summary |
|---|---|
| public void debug(CharSequence message) Log a message with debug log level.
| |
| debug | back to summary |
|---|---|
| public void debug(Throwable cause, CharSequence message) Log an error with debug log level.
| |
| debug | back to summary |
|---|---|
| public void debug(Supplier<? extends CharSequence> messageSupplier) Log a message with debug log level.
| |
| debug | back to summary |
|---|---|
| public void debug(Throwable cause, Supplier<? extends CharSequence> messageSupplier) Log an error with debug log level.
| |
| error | back to summary |
|---|---|
| public void error(CharSequence message) Log a message with error log level.
| |
| error | back to summary |
|---|---|
| public void error(Throwable cause, CharSequence message) Log an error with error log level.
| |
| error | back to summary |
|---|---|
| public void error(Supplier<? extends CharSequence> messageSupplier) Log a message with error log level.
| |
| error | back to summary |
|---|---|
| public void error(Throwable cause, Supplier<? extends CharSequence> messageSupplier) Log an error with error log level.
| |
| fatal | back to summary |
|---|---|
| public void fatal(CharSequence message) Log a message with fatal log level.
| |
| fatal | back to summary |
|---|---|
| public void fatal(Throwable cause, CharSequence message) Log an error with fatal log level.
| |
| fatal | back to summary |
|---|---|
| public void fatal(Supplier<? extends CharSequence> messageSupplier) Log a message with fatal log level.
| |
| fatal | back to summary |
|---|---|
| public void fatal(Throwable cause, Supplier<? extends CharSequence> messageSupplier) Log an error with fatal log level.
| |
| getLog | back to summary |
|---|---|
| public final Log getLog() Return the target Commons Log. | |
| info | back to summary |
|---|---|
| public void info(CharSequence message) Log a message with info log level.
| |
| info | back to summary |
|---|---|
| public void info(Throwable cause, CharSequence message) Log an error with info log level.
| |
| info | back to summary |
|---|---|
| public void info(Supplier<? extends CharSequence> messageSupplier) Log a message with info log level.
| |
| info | back to summary |
|---|---|
| public void info(Throwable cause, Supplier<? extends CharSequence> messageSupplier) Log an error with info log level.
| |
| isDebugEnabled | back to summary |
|---|---|
| public boolean isDebugEnabled() Is debug logging currently enabled? | |
| isErrorEnabled | back to summary |
|---|---|
| public boolean isErrorEnabled() Is error logging currently enabled? | |
| isFatalEnabled | back to summary |
|---|---|
| public boolean isFatalEnabled() Is fatal logging currently enabled? | |
| isInfoEnabled | back to summary |
|---|---|
| public boolean isInfoEnabled() Is info logging currently enabled? | |
| isTraceEnabled | back to summary |
|---|---|
| public boolean isTraceEnabled() Is trace logging currently enabled? | |
| isWarnEnabled | back to summary |
|---|---|
| public boolean isWarnEnabled() Is warn logging currently enabled? | |
| trace | back to summary |
|---|---|
| public void trace(CharSequence message) Log a message with trace log level.
| |
| trace | back to summary |
|---|---|
| public void trace(Throwable cause, CharSequence message) Log an error with trace log level.
| |
| trace | back to summary |
|---|---|
| public void trace(Supplier<? extends CharSequence> messageSupplier) Log a message with trace log level.
| |
| trace | back to summary |
|---|---|
| public void trace(Throwable cause, Supplier<? extends CharSequence> messageSupplier) Log an error with trace log level.
| |
| warn | back to summary |
|---|---|
| public void warn(CharSequence message) Log a message with warn log level.
| |
| warn | back to summary |
|---|---|
| public void warn(Throwable cause, CharSequence message) Log an error with warn log level.
| |
| warn | back to summary |
|---|---|
| public void warn(Supplier<? extends CharSequence> messageSupplier) Log a message with warn log level.
| |
| warn | back to summary |
|---|---|
| public void warn(Throwable cause, Supplier<? extends CharSequence> messageSupplier) Log an error with warn log level.
| |