Allow Serializer logging via isLoggable
Change-Id: Ie6c0257a3fa854d7abc92a82b690884ce2a4cb4c
This commit is contained in:
parent
cd2e98d000
commit
05530d4c33
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
package com.android.exchange.adapter;
|
package com.android.exchange.adapter;
|
||||||
|
|
||||||
|
import com.android.email.Email;
|
||||||
import com.android.exchange.Eas;
|
import com.android.exchange.Eas;
|
||||||
import com.android.exchange.utility.FileLogger;
|
import com.android.exchange.utility.FileLogger;
|
||||||
|
|
||||||
@ -37,7 +38,7 @@ import java.util.Hashtable;
|
|||||||
public class Serializer {
|
public class Serializer {
|
||||||
|
|
||||||
private static final String TAG = "Serializer";
|
private static final String TAG = "Serializer";
|
||||||
private boolean logging = false; // DO NOT CHECK IN WITH THIS TRUE!
|
private final boolean logging = Email.DEBUG && Log.isLoggable(TAG, Log.VERBOSE);
|
||||||
|
|
||||||
private static final int NOT_PENDING = -1;
|
private static final int NOT_PENDING = -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user