Android Open Source - task-timer-legacy Log






From Project

Back to project page task-timer-legacy.

License

The source code is released under:

GNU General Public License

If you think the Android project task-timer-legacy listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.gawdl3y.android.tasktimer.util;
/*from   w  ww .jav  a  2s .  co  m*/
import com.gawdl3y.android.tasktimer.TaskTimerApplication;

/**
 * Wrapper for logging
 * @author Schuyler Cebulskie
 */
public final class Log {
    /**
     * Send a verbose log message (Only sent when TaskTimerApplication.DEBUG is true)
     * @param tag     Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.
     * @param message The message you would like logged.
     * @see android.util.Log#v(String, String)
     */
    public static final void v(String tag, String message) {
        if(TaskTimerApplication.DEBUG) android.util.Log.v(tag, message);
    }

    /**
     * Send a debug log message (Only sent when TaskTimerApplication.DEBUG is true)
     * @param tag     Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.
     * @param message The message you would like logged.
     * @see android.util.Log#d(String, String)
     */
    public static final void d(String tag, String message) {
        if(TaskTimerApplication.DEBUG) android.util.Log.d(tag, message);
    }

    /**
     * Send an information log message (Only sent when TaskTimerApplication.DEBUG is true)
     * @param tag     Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.
     * @param message The message you would like logged.
     * @see android.util.Log#i(String, String)
     */
    public static final void i(String tag, String message) {
        if(TaskTimerApplication.DEBUG) android.util.Log.i(tag, message);
    }

    /**
     * Send a warning log message
     * @param tag     Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.
     * @param message The message you would like logged.
     * @see android.util.Log#w(String, String)
     */
    public static final void w(String tag, String message) {
        android.util.Log.w(tag, message);
    }

    /**
     * Send an error log message
     * @param tag     Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.
     * @param message The message you would like logged.
     * @see android.util.Log#e(String, String)
     */
    public static final void e(String tag, String message) {
        android.util.Log.e(tag, message);
    }

    /**
     * Send a What a Terrible Failure log message
     * @param tag     Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.
     * @param message The message you would like logged.
     * @see android.util.Log#wtf(String, String)
     */
    public static final void wtf(String tag, String message) {
        android.util.Log.wtf(tag, message);
    }
}




Java Source Code List

com.gawdl3y.android.actionablelistview.ActionItem.java
com.gawdl3y.android.actionablelistview.ActionableAdapter.java
com.gawdl3y.android.actionablelistview.ActionableListFragment.java
com.gawdl3y.android.actionablelistview.ActionableListView.java
com.gawdl3y.android.actionablelistview.Actionable.java
com.gawdl3y.android.actionablelistview.CheckableAdapter.java
com.gawdl3y.android.actionablelistview.CheckableListView.java
com.gawdl3y.android.actionablelistview.OnListItemCheckStateChangeListener.java
com.gawdl3y.android.tasktimer.TaskTimerApplication.java
com.gawdl3y.android.tasktimer.activities.MainActivity.java
com.gawdl3y.android.tasktimer.activities.SettingsActivity.java
com.gawdl3y.android.tasktimer.adapters.GroupListAdapter.java
com.gawdl3y.android.tasktimer.adapters.NewFragmentStatePagerAdapter.java
com.gawdl3y.android.tasktimer.adapters.TaskListAdapter.java
com.gawdl3y.android.tasktimer.adapters.TaskListFragmentAdapter.java
com.gawdl3y.android.tasktimer.data.TaskTimerDatabaseHelper.java
com.gawdl3y.android.tasktimer.data.TaskTimerProvider.java
com.gawdl3y.android.tasktimer.data.TaskTimerReceiver.java
com.gawdl3y.android.tasktimer.layout.GroupEditDialogFragment.java
com.gawdl3y.android.tasktimer.layout.GroupListItem.java
com.gawdl3y.android.tasktimer.layout.GroupsFragment.java
com.gawdl3y.android.tasktimer.layout.SettingsFragment.java
com.gawdl3y.android.tasktimer.layout.TaskEditDialogFragment.java
com.gawdl3y.android.tasktimer.layout.TaskListFragment.java
com.gawdl3y.android.tasktimer.layout.TaskListItem.java
com.gawdl3y.android.tasktimer.layout.TasksFragment.java
com.gawdl3y.android.tasktimer.pojos.Group.java
com.gawdl3y.android.tasktimer.pojos.TaskTimerEvents.java
com.gawdl3y.android.tasktimer.pojos.TaskTimerThread.java
com.gawdl3y.android.tasktimer.pojos.Task.java
com.gawdl3y.android.tasktimer.pojos.TimeAmount.java
com.gawdl3y.android.tasktimer.util.DialogPreference.java
com.gawdl3y.android.tasktimer.util.Log.java
com.gawdl3y.android.tasktimer.util.Utilities.java