Companion

Properties

Link copied to clipboard
const val ASSERT: Int = 7

Priority constant for the println method.use Log.wtf.

Link copied to clipboard
const val DEBUG: Int = 3

Priority constant for the println method; use Log.d.

Link copied to clipboard
const val ERROR: Int = 6

Priority constant for the println method; use Log.e.

Link copied to clipboard
const val INFO: Int = 4

Priority constant for the println method; use Log.i.

Link copied to clipboard
const val VERBOSE: Int = 2

Priority constant for the println method; use Log.v.

Link copied to clipboard
const val WARN: Int = 5

Priority constant for the println method; use Log.w.

Functions

Link copied to clipboard
open override fun d(t: Throwable?)

Log a debug exception.

open override fun d(message: String?, vararg args: Any?)

Log a debug message with optional format args.

open override fun d(t: Throwable?, message: String?, vararg args: Any?)

Log a debug exception and a message with optional format args.

Link copied to clipboard
open override fun e(t: Throwable?)

Log an error exception.

open override fun e(message: String?, vararg args: Any?)

Log an error message with optional format args.

open override fun e(t: Throwable?, message: String?, vararg args: Any?)

Log an error exception and a message with optional format args.

Link copied to clipboard
open override fun i(t: Throwable?)

Log an info exception.

open override fun i(message: String?, vararg args: Any?)

Log an info message with optional format args.

open override fun i(t: Throwable?, message: String?, vararg args: Any?)

Log an info exception and a message with optional format args.

Link copied to clipboard
open override fun log(priority: Int, message: String?)

Log at priority an message.

open override fun log(priority: Int, t: Throwable?)

Log at priority an exception.

open override fun log(priority: Int, t: Throwable?, message: String?)

Log at priority an exception and a message.

Link copied to clipboard
open override fun offset(methodOffset: Int): ILogger

Set a one-time method trace offset for use on the next logging call.

Link copied to clipboard

Set up a logger.

Link copied to clipboard
open override fun tag(tag: String): ILogger

Set a one-time tag for use on the next logging call.

Link copied to clipboard
open override fun v(t: Throwable?)

Log a verbose exception.

open override fun v(message: String?, vararg args: Any?)

Log a verbose message with optional format args.

open override fun v(t: Throwable?, message: String?, vararg args: Any?)

Log a verbose exception and a message with optional format args.

Link copied to clipboard
open override fun w(t: Throwable?)

Log a warning exception.

open override fun w(message: String?, vararg args: Any?)

Log a warning message with optional format args.

open override fun w(t: Throwable?, message: String?, vararg args: Any?)

Log a warning exception and a message with optional format args.

Link copied to clipboard
open override fun wtf(t: Throwable?)

Log an assert exception.

open override fun wtf(message: String?, vararg args: Any?)

Log an assert message with optional format args.

open override fun wtf(t: Throwable?, message: String?, vararg args: Any?)

Log an assert exception and a message with optional format args.