MCPcopy
hub / github.com/orhanobut/logger / Printer

Interface Printer

logger/src/main/java/com/orhanobut/logger/Printer.java:10–45  ·  view source on GitHub ↗

A proxy interface to enable additional operations. Contains all possible Log message usages.

Source from the content-addressed store, hash-verified

8 * Contains all possible Log message usages.
9 */
10public 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}

Callers 58

addAdapterMethod · 0.65
setupMethod · 0.65
addAdapterMethod · 0.65
doNotLogIfNotLoggableMethod · 0.65
addLogAdapterMethod · 0.65
oneTimeTagMethod · 0.65
oneTimeTagMethod · 0.65
tMethod · 0.65
debugLogMethod · 0.65
logObjectMethod · 0.65
oneTimeTagMethod · 0.65
logDebugMethod · 0.65

Implementers 1

LoggerPrinterlogger/src/main/java/com/orhanobut/log

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…