ILogger

interface ILogger

日志记录器的基本定义

Author

Jenly

Follow me

Inheritors

Functions

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

Log a debug exception.

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

Log a debug message with optional format args.

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

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

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

Log an error exception.

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

Log an error message with optional format args.

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

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

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

Log an info exception.

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

Log an info message with optional format args.

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

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

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

Log at priority an message.

abstract fun log(priority: Int, t: Throwable?)

Log at priority an exception.

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

Log at priority an exception and a message.

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

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

Link copied to clipboard
abstract fun tag(tag: String): ILogger

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

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

Log a verbose exception.

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

Log a verbose message with optional format args.

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

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

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

Log a warning exception.

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

Log a warning message with optional format args.

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

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

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

Log an assert exception.

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

Log an assert message with optional format args.

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

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