interface Log.Logger


Interface for a logger that can output messages with a tag.

Use DEFAULT to output to android.util.Log.

Summary

Constants

const Log.Logger!

The default instance logging to android.util.Log.

Public functions

Unit
d(tag: String!, message: String!, throwable: Throwable?)

Logs a debug-level message with an optional associated Throwable.

Unit
e(tag: String!, message: String!, throwable: Throwable?)

Logs an error-level message with an optional associated Throwable.

Unit
i(tag: String!, message: String!, throwable: Throwable?)

Logs an information-level message with an optional associated Throwable.

Unit
w(tag: String!, message: String!, throwable: Throwable?)

Logs a warning-level message with an optional associated Throwable.

Constants

DEFAULT

const val DEFAULTLog.Logger!

The default instance logging to android.util.Log.

Public functions

d

fun d(tag: String!, message: String!, throwable: Throwable?): Unit

Logs a debug-level message with an optional associated Throwable.

Parameters
tag: String!

The tag of the message.

message: String!

The message.

throwable: Throwable?

The Throwable associated with the message, or null if not specified.

e

fun e(tag: String!, message: String!, throwable: Throwable?): Unit

Logs an error-level message with an optional associated Throwable.

Parameters
tag: String!

The tag of the message.

message: String!

The message.

throwable: Throwable?

The Throwable associated with the message, or null if not specified.

i

fun i(tag: String!, message: String!, throwable: Throwable?): Unit

Logs an information-level message with an optional associated Throwable.

Parameters
tag: String!

The tag of the message.

message: String!

The message.

throwable: Throwable?

The Throwable associated with the message, or null if not specified.

w

fun w(tag: String!, message: String!, throwable: Throwable?): Unit

Logs a warning-level message with an optional associated Throwable.

Parameters
tag: String!

The tag of the message.

message: String!

The message.

throwable: Throwable?

The Throwable associated with the message, or null if not specified.