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 {
    public static void Message(String str) {
        Log.d("TAG",
                "[" + new Throwable().getStackTrace()[0].getFileName() + "]["
                        + new Throwable().getStackTrace()[0].getMethodName() + "]["
                        + new Throwable().getStackTrace()[0].getLineNumber() + "] : " + str);
    }
}