| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static class | Log.
This adapter logs nothing. |
| public static class | Log.
This adapter logs to standard out and standard error. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| private static Supplier | |
| public static void | |
| public static void |
| CURRENT_ADAPTER | back to summary |
|---|---|
| private static Log. | |
| Log | back to summary |
|---|---|
| public Log() | |
| error | back to summary |
|---|---|
| public static void error(Throwable throwable) For drawing attention to an error. | |
| error | back to summary |
|---|---|
| public static void error(Throwable throwable, String format, Supplier<Object>... args) For drawing attention to an error that you don't have an exception for.
| |
| error | back to summary |
|---|---|
| public static void error(String format, Supplier<Object>... args) For drawing attention to an error that you don't have an exception for.
| |
| info | back to summary |
|---|---|
| public static void info(String format, Supplier<Object>... args) For logging things that are nice to see scrolling by.
| |
| makeFormattingSupplier | back to summary |
|---|---|
| private static Supplier | |
| setAdapter | back to summary |
|---|---|
| public static void setAdapter(Log. Change how logging is handled. You can set your own implementation that forwards to your logging library. | |
| trace | back to summary |
|---|---|
| public static void trace(String format, Supplier<Object>... args) For logging information that may help solving a problem.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void |
| error | back to summary |
|---|---|
| public void error(Supplier<Throwable> throwableSupplier, Supplier<String> messageSupplier) Both can supply a null. | |
| info | back to summary |
|---|---|
| public void info(Supplier<String> message) | |
| trace | back to summary |
|---|---|
| public void trace(Supplier<String> message) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void |
| SilentAdapter | back to summary |
|---|---|
| public SilentAdapter() | |
| error | back to summary |
|---|---|
| public void error(Supplier<Throwable> throwableSupplier, Supplier<String> messageSupplier) Implements com. Doc from com. Both can supply a null.
| |
| info | back to summary |
|---|---|
| public void info(Supplier<String> messageSupplier) Implements com.
| |
| trace | back to summary |
|---|---|
| public void trace(Supplier<String> messageSupplier) Implements com.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| private void | |
| public void |
| StandardOutStandardErrorAdapter | back to summary |
|---|---|
| public StandardOutStandardErrorAdapter() | |
| error | back to summary |
|---|---|
| public void error(Supplier<Throwable> throwableSupplier, Supplier<String> messageSupplier) Implements com. Doc from com. Both can supply a null.
| |
| info | back to summary |
|---|---|
| public void info(Supplier<String> messageSupplier) Implements com.
| |
| printStackTrace | back to summary |
|---|---|
| private void printStackTrace(Throwable throwable) | |
| trace | back to summary |
|---|---|
| public void trace(Supplier<String> messageSupplier) Implements com.
| |