Use Timber for all logs

This commit is contained in:
moezbhatti
2019-06-09 23:53:51 -04:00
parent c4a49a73d5
commit e1c26d055c
59 changed files with 505 additions and 858 deletions
@@ -16,7 +16,7 @@
package android.net;
import com.klinker.android.logger.Log;
import timber.log.Timber;
import java.net.Inet4Address;
import java.net.Inet6Address;
@@ -31,8 +31,6 @@ import java.util.Collection;
*/
public class NetworkUtilsHelper {
private static final String TAG = "NetworkUtils";
/**
* Bring the named network interface up.
*/
@@ -255,7 +253,7 @@ public class NetworkUtilsHelper {
addrHexString.substring(16, 20), addrHexString.substring(20, 24),
addrHexString.substring(24, 28), addrHexString.substring(28, 32)));
} catch (Exception e) {
Log.e("NetworkUtils", "error in hexToInet6Address(" + addrHexString + "): " + e);
Timber.e("error in hexToInet6Address(" + addrHexString + "): " + e);
throw new IllegalArgumentException(e);
}
}