public final class

OMLog

extends Object
java.lang.Object
   ↳ mobisocial.util.OMLog

Class Overview

User-adjustable logging class used across Omlib. See LOG_LEVEL to adjust the logging produced by this library.

Summary

Constants
int DEBUG
int ERROR
int INFO
int VERBOSE
int WARN
Fields
public static int LOG_LEVEL The logging level used across Omlib, using values from android.util.Log.
Public Constructors
OMLog()
Public Methods
static void d(String tag, String msg, Throwable t)
static void d(String tag, String msg)
static void e(String tag, String msg)
static void e(String tag, String msg, Throwable t)
static void i(String tag, String msg, Throwable t)
static void i(String tag, String msg)
static void v(String tag, String msg)
static void v(String tag, String msg, Throwable t)
static void w(String tag, String msg, Throwable t)
static void w(String tag, String msg)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DEBUG

Constant Value: 3 (0x00000003)

public static final int ERROR

Constant Value: 6 (0x00000006)

public static final int INFO

Constant Value: 4 (0x00000004)

public static final int VERBOSE

Constant Value: 2 (0x00000002)

public static final int WARN

Constant Value: 5 (0x00000005)

Fields

public static int LOG_LEVEL

The logging level used across Omlib, using values from android.util.Log. Default is WARN.

Public Constructors

public OMLog ()

Public Methods

public static void d (String tag, String msg, Throwable t)

public static void d (String tag, String msg)

public static void e (String tag, String msg)

public static void e (String tag, String msg, Throwable t)

public static void i (String tag, String msg, Throwable t)

public static void i (String tag, String msg)

public static void v (String tag, String msg)

public static void v (String tag, String msg, Throwable t)

public static void w (String tag, String msg, Throwable t)

public static void w (String tag, String msg)