Java tutorial
//package com.java2s; //License from project: Apache License import android.util.Log; public class Main { public static String TAG = "Halohoop"; public static String defaultPreStr = "HalohoopNote:------"; public static void i(Object logStr) { Log.i(TAG, defaultPreStr + logStr); } public static void i(String cusPreLogStr, String logStr) { Log.i(TAG, cusPreLogStr + logStr); } }