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(String message) {
        //        _log(message);
        Log.i("JC-LOG", message);
    }

    public static void log(Exception e) {
        //        _log(message);
        if (e == null) {
            return;
        }
        e.printStackTrace();
        Log.i("JC-LOG", "" + e.getMessage());
    }
}