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 {
    /**
     * Wrapper around android.util.Log.println.
     *
     * @param priority Logging priority, using android.util.Log constants
     */
    public static void log(int priority, String tag, String message, Throwable tr) {
        Log.println(priority, tag, message + '\n' + Log.getStackTraceString(tr));
    }
}