1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| package com.doumee.lib_coremodel.http.interceptor.logging;
|
| import okhttp3.internal.platform.Platform;
|
| /**
| * @author ihsan on 11/07/2017.
| */
| @SuppressWarnings({"WeakerAccess", "unused"})
| public interface Logger {
| void log(int level, String tag, String msg);
|
| Logger DEFAULT = new Logger() {
| @Override
| public void log(int level, String tag, String message) {
| Platform.get().log(level, message, null);
| }
| };
| }
|
|