A proxy interface to enable additional operations. Contains all possible Log message usages.
| 8 | * Contains all possible Log message usages. |
| 9 | */ |
| 10 | public interface Printer { |
| 11 | |
| 12 | void addAdapter(@NonNull LogAdapter adapter); |
| 13 | |
| 14 | Printer t(@Nullable String tag); |
| 15 | |
| 16 | void d(@NonNull String message, @Nullable Object... args); |
| 17 | |
| 18 | void d(@Nullable Object object); |
| 19 | |
| 20 | void e(@NonNull String message, @Nullable Object... args); |
| 21 | |
| 22 | void e(@Nullable Throwable throwable, @NonNull String message, @Nullable Object... args); |
| 23 | |
| 24 | void w(@NonNull String message, @Nullable Object... args); |
| 25 | |
| 26 | void i(@NonNull String message, @Nullable Object... args); |
| 27 | |
| 28 | void v(@NonNull String message, @Nullable Object... args); |
| 29 | |
| 30 | void wtf(@NonNull String message, @Nullable Object... args); |
| 31 | |
| 32 | /** |
| 33 | * Formats the given json content and print it |
| 34 | */ |
| 35 | void json(@Nullable String json); |
| 36 | |
| 37 | /** |
| 38 | * Formats the given xml content and print it |
| 39 | */ |
| 40 | void xml(@Nullable String xml); |
| 41 | |
| 42 | void log(int priority, @Nullable String tag, @Nullable String message, @Nullable Throwable throwable); |
| 43 | |
| 44 | void clearLogAdapters(); |
| 45 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…