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 loge(String tag, String msg) {
        if (isShow) {
            Log.e(tag, msg);
        }
    }

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