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 = "ABrwDownloadUtil";

    static private void log(Exception e) {
        Log.i(TAG, Log.getStackTraceString(e));
    }

    static private void log(String msg) {
        Log.i(TAG, msg);
    }

    static private void log(String format, Object arg1) {
        Log.i(TAG, String.format(format, arg1));
    }

    static private void log(String format, Object arg1, Object arg2) {
        Log.i(TAG, String.format(format, arg1, arg2));
    }

    static private void log(String format, Object arg1, Object arg2, Object arg3) {
        Log.i(TAG, String.format(format, arg1, arg2, arg3));
    }
}