Java android.util Log fields, constructors, methods, implement or subclass

Example usage for Java android.util Log fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.util Log.

The text is from its open source code.

Field

intVERBOSE
Priority constant for the println method; use Log.v.
intDEBUG
Priority constant for the println method; use Log.d.
intINFO
Priority constant for the println method; use Log.i.
intWARN
Priority constant for the println method; use Log.w.
intERROR
Priority constant for the println method; use Log.e.
intASSERT
Priority constant for the println method.

Method

intd(String tag, String msg)
Send a #DEBUG log message.
intd(String tag, String msg, Throwable tr)
Send a #DEBUG log message and log the exception.
inte(String tag, String msg)
Send an #ERROR log message.
inte(String tag, String msg, Throwable tr)
Send a #ERROR log message and log the exception.
StringgetStackTraceString(Throwable tr)
Handy function to get a loggable stack trace from a Throwable
intic static int i(String tag, String msg)
Send an #INFO log message.
intic static int i(String tag, String msg, Throwable tr)
Send a #INFO log message and log the exception.
booleanisLoggable(String tag, int level)
Checks to see whether or not a log for the specified tag is loggable at the specified level.
intprintln(int priority, String tag, String msg)
Low-level logging call.
intv(String tag, String msg)
Send a #VERBOSE log message.
intv(String tag, String msg, Throwable tr)
Send a #VERBOSE log message and log the exception.
intw(String tag, String msg)
Send a #WARN log message.
intw(String tag, Throwable tr)
intw(String tag, String msg, Throwable tr)
Send a #WARN log message and log the exception.
intwtf(String tag, String msg)
What a Terrible Failure: Report a condition that should never happen.
intwtf(String tag, Throwable tr)
What a Terrible Failure: Report an exception that should never happen.
intwtf(String tag, String msg, Throwable tr)
What a Terrible Failure: Report an exception that should never happen.