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 {
    public static void log(Object o) {
        try {
            Log.d("MGX", o.toString());
        } catch (Exception e) {
            Log.e("MGX", "ERROR LOGGING");
        }
    }

    public static void e(Object o) {
        try {
            Log.e("MGX", o.toString());
        } catch (Exception e) {
            Log.e("MGX", "ERROR LOGGING");
        }
    }
}