rk
昨天 4a8ff39b0fab0627ef8f7459587d514cc01c3676
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.doumee.lib_coremodel.http.interceptor.logging;
 
 
import java.util.logging.Level;
 
import okhttp3.internal.platform.Platform;
 
/**
 * @author ihsan on 10/02/2017.
 */
class I {
 
    protected I() {
        throw new UnsupportedOperationException();
    }
 
    static void log(int type, String tag, String msg) {
        java.util.logging.Logger logger = java.util.logging.Logger.getLogger(tag);
        switch (type) {
            case Platform.INFO:
                logger.log(Level.INFO, msg);
                break;
            default:
                logger.log(Level.WARNING, msg);
                break;
        }
    }
}