VladMorzhanov
9/23/2017 - 3:01 PM

Android Logger class.

Android Logger class.

package com.dev.util;


import android.util.Log;

/**
 * class uses for logging
 */
public class Logger {

    private static final String LOG_TAG = "main_logs";

    /**
     * access to logs service
     *
     * @param message - log message
     */
    public static void writeLog(String className, String methodName, String message) {
        Log.d(LOG_TAG, "[" + className + "]" + "[" + methodName + "] : " + message + "\n");
    }
}