Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.util.Log;

public class Main {
    private static final boolean DEBUG = true;

    public static void w(String tag, String msg) {
        if (DEBUG) {
            if (msg != null) {
                Log.w(tag, msg);
            }
        }

    }
}