Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.util.Log;

public class Main {

    private static final boolean isShow = true;

    public static void logi(String tag, String msg) {
        if (isShow) {
            Log.i(tag, msg);
        }
    }

    public static void logi(String msg) {
        if (isShow) {
            Log.i("LM", msg);
        }
    }
}