Determines destination target for the logs such as Disk, Logcat etc. @see LogcatLogStrategy @see DiskLogStrategy
| 10 | * @see DiskLogStrategy |
| 11 | */ |
| 12 | public interface LogStrategy { |
| 13 | |
| 14 | /** |
| 15 | * This is invoked by Logger each time a log message is processed. |
| 16 | * Interpret this method as last destination of the log in whole pipeline. |
| 17 | * |
| 18 | * @param priority is the log level e.g. DEBUG, WARNING |
| 19 | * @param tag is the given tag for the log message. |
| 20 | * @param message is the given message for the log message. |
| 21 | */ |
| 22 | void log(int priority, @Nullable String tag, @NonNull String message); |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…