Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

public class Main {
    private static boolean isOpen = true;

    public static void MyLog_e(Context context, String str) {
        if (isOpen) {
            Log.e(context.getClass().getSimpleName(), str);
        }
    }
}