PackageSkyseraph.android.util;/*** @Title: Logutil.java * @Package: Tcl.nfc.phone.util * @ClassName: Logutil * @Description: General Debug class *@author: [Email protected] * @date: 2013-5-16 a.m. 9:22:43 *@version: V1.2*/ Public classLogutil { Public Static voidV (string tag, string msg) {if(myconstant.isverbose) {ANDROID.UTIL.LOG.V (tag, msg); } } Public Static voidV (string tag, string msg, Throwable t) {if(myconstant.isverbose) {ANDROID.UTIL.LOG.V (tag, MSG, T); } } Public Static voidd (string tag, string msg) {if(myconstant.isdebug) {ANDROID.UTIL.LOG.D (tag, msg); } } Public Static voidd (string tag, string msg, Throwable t) {if(myconstant.isdebug) {ANDROID.UTIL.LOG.D (tag, MSG, T); } } Public Static voidI (string tag, string msg) {if(myconstant.isinformation) {ANDROID.UTIL.LOG.I (tag, msg); } } Public Static voidI (string tag, string msg, Throwable t) {if(myconstant.isinformation) {ANDROID.UTIL.LOG.I (tag, MSG, T); } } Public Static voidW (string tag, string msg) {if(myconstant.iswarning) {ANDROID.UTIL.LOG.W (tag, msg); } } Public Static voidW (string tag, string msg, Throwable t) {if(myconstant.iswarning) {ANDROID.UTIL.LOG.W (tag, MSG, T); } } Public Static voide (string tag, string msg) {if(myconstant.iserror) {ANDROID.UTIL.LOG.E (tag, msg); } } Public Static voide (string tag, string msg, Throwable t) {if(myconstant.iserror) {ANDROID.UTIL.LOG.E (tag, MSG, T); } }}
Easy Tag Write (3.2)