Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.util.Log;

public class Main {
    /**
     * log debug a string
     *
     * @param s string to be logged
     */
    public static void logD(String s) {
        logD("LOG", s);
    }

    /**
     * log debug a string
     *
     * @param tag tag for logging
     * @param s   string to be logged
     */
    public static void logD(String tag, String s) {
        Log.d(tag, s);
    }
}