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 {
    public static boolean DEBUG = false;
    private static String TAG = "UXUtils";
    private static StringBuffer sb = new StringBuffer();

    public static void printMultiLog(String... msg) {
        if (msg != null && DEBUG) {
            sb.setLength(0);
            if (msg.length > 0) {
                for (String aMsg : msg) {
                    sb.append(aMsg);
                    sb.append(" ");
                }
            } else {
                sb.append("empty printMultiLog please check");
            }
            Log.d(TAG, sb.toString());
        }
    }
}