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 ISLOG = false;

    public static void log(String tag, String msg) {
        if (ISLOG) {
            Log.v(tag, msg);
        }
    }

    public static void log(Object obj, String msg) {
        log(obj.getClass().getSimpleName(), msg);
    }
}