Java tutorial
//package com.java2s; import android.util.Log; public class Main { public static final boolean DEBUG = true; public static int SRLogError(String log) { return (DEBUG ? Log.e("SmartRecorder", log) : 1); } }