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 boolean DEBUG = false;

    public static final void debug(boolean debug) {
        DEBUG = debug;
    }

    public static void debug(Object output) {
        if (DEBUG) {
            Log.d("AML", String.valueOf(output));
        }
    }
}