All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yy.httpproxy.util.LogcatLogger Maven / Gradle / Ivy

There is a newer version: 1.1.28
Show newest version
package com.yy.httpproxy.util;

/**
 * Created by xuduo on 5/23/16.
 */
public class LogcatLogger implements Logger {

    @Override
    public void log(int level, String message, Throwable e) {
        if (level == Logger.DEBUG) {
            android.util.Log.d("push-sdk", message, e);
        } else if (level == Logger.INFO) {
            android.util.Log.i("push-sdk", message, e);
        } else if (level == Logger.ERROR) {
            android.util.Log.e("push-sdk", message, e);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy