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 String TAG = "Http";
    private static boolean debug = true;

    public static void w(String tag, String text) {
        if (debug) {
            Log.w(tag, text);
        }
    }

    public static void w(String text) {
        if (debug) {
            Log.w(TAG, text);
        }
    }
}