Back to project page sqlite-provider.
The source code is released under:
Apache License
If you think the Android project sqlite-provider listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package novoda.lib.sqliteprovider.provider; /*from www. ja v a 2 s . c o m*/ import android.net.Uri; import novoda.lib.sqliteprovider.sqlite.ExtendedSQLiteQueryBuilder; import novoda.lib.sqliteprovider.util.Log.Provider; import java.util.Arrays; import java.util.Map; public class ImplLogger { protected void logStart(Uri uri) { if (Provider.verboseLoggingEnabled()) { Provider.v("==================== start of query ======================="); Provider.v("Uri: " + uri.toString()); } } protected void logAppendWhere(String where) { if (Provider.verboseLoggingEnabled()) { Provider.v("Appending to where clause: " + where); } } protected void logEnd(String[] projection, String selection, String[] selectionArgs, String sortOrder, final ExtendedSQLiteQueryBuilder builder, final String groupBy, final String having, final String limit, Map<String, String> autoproj) { if (Provider.verboseLoggingEnabled()) { Provider.v("table: " + builder.getTables()); if (projection != null) { Provider.v("projection:" + Arrays.toString(projection)); } if (selection != null) { Provider.v("selection: " + selection + " with arguments " + Arrays.toString(selectionArgs)); } Provider.v("extra args: " + groupBy + " ,having: " + having + " ,sort order: " + sortOrder + " ,limit: " + limit); if (autoproj != null) { Provider.v("projectionAutomated: " + autoproj); } Provider.v("==================== end of query ======================="); } } }