w

open fun w(@NonNull tag: String, @NonNull messageCallback: Callable<String>)

Logs a WARN log message.

Parameters

tag

Tag identifying the source of a log message.

messageCallback

Callback returning the log message. Called only when the log is accepted by any registered logger via isLogged.


open fun w(@NonNull tag: String, @Nullable message: String, @NonNull args: Array<Any>)

Logs a WARN log message.

Parameters

tag

Tag identifying the source of a log message.

message

The message to logged.

args

Optional arguments referenced by the format specifiers in the message. See format for more details.


open fun w(@NonNull tag: String, @Nullable t: Throwable, @Nullable message: String, @NonNull args: Array<Any>)

Logs a WARN log message.

Parameters

tag

Tag identifying the source of a log message.

t

Optional exception to log.

message

The message to logged.

args

Optional arguments referenced by the format specifiers in the message. See format for more details.