Supplier instance (typically bound to a lambda
expression) or a printf-style format string (String#format) in its
toString().
of(Supplier), format(String, Object), format(String, Object...) , org.apache.commons.logging.Log#fatal(Object) , org.apache.commons.logging.Log#error(Object) , org.apache.commons.logging.Log#warn(Object) , org.apache.commons.logging.Log#info(Object) , org.apache.commons.logging.Log#debug(Object) , org.apache.commons.logging.Log#trace(Object)
| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract String | |
| public char | charAt(int
the index of the index)char value to be returnedImplements java. Returns the |
| public static LogMessage | format(String
the format string (following format, Object String#format rules)the argument (can be arg1)null)Build a lazily formatted message from the given format string and argument. |
| public static LogMessage | format(String
the format string (following format, Object String#format rules)the first argument (can be arg1, Object null)the second argument (can be arg2)null)Build a lazily formatted message from the given format string and arguments. |
| public static LogMessage | |
| public static LogMessage | format(String
the format string (following format, Object String#format rules)the first argument (can be arg1, Object null)the second argument (can be arg2, Object null)the third argument (can be arg3, Object null)the fourth argument (can be arg4)null)Build a lazily formatted message from the given format string and arguments. |
| public static LogMessage | format(String
the format string (following format, Object... String#format rules)the varargs array (can be args)null and can contain null
elements)Build a lazily formatted message from the given format string and varargs. |
| public int | |
| public static LogMessage | of(Supplier<? extends CharSequence>
the supplier (typically bound to a lambda expression) supplier)Build a lazily resolving message from the given supplier. |
| public CharSequence | subSequence(int
the start index, inclusive start, int the end index, exclusive end)Implements java. Returns a |
| public String | toString()
Overrides java. Implements java. This will be called by the logging provider, potentially once per log target (therefore locally caching the result here). |
| result | back to summary |
|---|---|
| private String result
| |
| LogMessage | back to summary |
|---|---|
| public LogMessage() | |
| buildString | back to summary |
|---|---|
| pack-priv abstract String buildString() | |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Returns the If the
| |
| format | back to summary |
|---|---|
| public static LogMessage format(String format, Object arg1) Build a lazily formatted message from the given format string and argument.
| |
| format | back to summary |
|---|---|
| public static LogMessage format(String format, Object arg1, Object arg2) Build a lazily formatted message from the given format string and arguments.
| |
| format | back to summary |
|---|---|
| public static LogMessage format(String format, Object arg1, Object arg2, Object arg3) Build a lazily formatted message from the given format string and arguments.
| |
| format | back to summary |
|---|---|
| public static LogMessage format(String format, Object arg1, Object arg2, Object arg3, Object arg4) Build a lazily formatted message from the given format string and arguments.
| |
| format | back to summary |
|---|---|
| public static LogMessage format(String format, Object... args) Build a lazily formatted message from the given format string and varargs. This varargs
| |
| length | back to summary |
|---|---|
| public int length() Implements java. Doc from java. Returns the length of this character sequence. The length is the number
of 16-bit
| |
| of | back to summary |
|---|---|
| public static LogMessage of(Supplier<? extends CharSequence> supplier) Build a lazily resolving message from the given supplier.
| |
| subSequence | back to summary |
|---|---|
| public CharSequence subSequence(int start, int end) Implements java. Doc from java. Returns a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements java. This will be called by the logging provider, potentially once per log target (therefore locally caching the result here).
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| format | back to summary |
|---|---|
| protected final String format | |
| FormatMessage | back to summary |
|---|---|
| pack-priv FormatMessage(String format) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected String |
| arg1 | back to summary |
|---|---|
| private final Object arg1
| |
| FormatMessage1 | back to summary |
|---|---|
| pack-priv FormatMessage1(String format, Object arg1) | |
| buildString | back to summary |
|---|---|
| protected String buildString() Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String |
| arg1 | back to summary |
|---|---|
| private final Object arg1
| |
| arg2 | back to summary |
|---|---|
| private final Object arg2
| |
| FormatMessage2 | back to summary |
|---|---|
| pack-priv FormatMessage2(String format, Object arg1, Object arg2) | |
| buildString | back to summary |
|---|---|
| pack-priv String buildString() Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final Object | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String |
| arg1 | back to summary |
|---|---|
| private final Object arg1
| |
| arg2 | back to summary |
|---|---|
| private final Object arg2
| |
| arg3 | back to summary |
|---|---|
| private final Object arg3
| |
| FormatMessage3 | back to summary |
|---|---|
| pack-priv FormatMessage3(String format, Object arg1, Object arg2, Object arg3) | |
| buildString | back to summary |
|---|---|
| pack-priv String buildString() Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final Object | |
| private final Object | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String |
| arg1 | back to summary |
|---|---|
| private final Object arg1
| |
| arg2 | back to summary |
|---|---|
| private final Object arg2
| |
| arg3 | back to summary |
|---|---|
| private final Object arg3
| |
| arg4 | back to summary |
|---|---|
| private final Object arg4
| |
| FormatMessage4 | back to summary |
|---|---|
| pack-priv FormatMessage4(String format, Object arg1, Object arg2, Object arg3, Object arg4) | |
| buildString | back to summary |
|---|---|
| pack-priv String buildString() Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Object[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String |
| args | back to summary |
|---|---|
| private final Object[] args
| |
| FormatMessageX | back to summary |
|---|---|
| pack-priv FormatMessageX(String format, Object... args) | |
| buildString | back to summary |
|---|---|
| pack-priv String buildString() Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Supplier |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String |
| supplier | back to summary |
|---|---|
| private final Supplier<? extends CharSequence> supplier | |
| SupplierMessage | back to summary |
|---|---|
| pack-priv SupplierMessage(Supplier<? extends CharSequence> supplier) | |
| buildString | back to summary |
|---|---|
| pack-priv String buildString() Implements abstract org.
| |