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;
    private static String LOG_TAG = "MTUtils";

    /**
     * Muestra un mensaje de log
     * @param text
     */
    public static void log(String text) {
        if (DEBUG == true) {
            Log.d(LOG_TAG, text);
        }
    }
}