Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.util.Log;

public class Main {
    public final static boolean BaatnaLog = false;

    public static void ZLog(String Tag, String Message) {
        if (BaatnaLog && Message != null)
            Log.i(Tag, Message);
    }

    public static void ZLog(String Tag, float Message) {
        if (BaatnaLog)
            Log.i(Tag, Message + "");
    }

    public static void ZLog(String Tag, boolean Message) {
        if (BaatnaLog)
            Log.i(Tag, Message + "");
    }

    public static void ZLog(String Tag, int Message) {
        if (BaatnaLog)
            Log.i(Tag, Message + "");
    }
}