Logcat

Built-in logger that forwards Ackpine events to Android logcat.

Templates are rendered with Locale.ROOT.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun debug(tag: String, template: String, vararg args: Any?)

Logs a Level.DEBUG event.

open fun debug(tag: String, throwable: Throwable, template: String, vararg args: Any?)

Logs a Level.DEBUG event with an associated throwable.

Link copied to clipboard
open fun error(tag: String, template: String, vararg args: Any?)

Logs a Level.ERROR event.

open fun error(tag: String, throwable: Throwable, template: String, vararg args: Any?)

Logs a Level.ERROR event with an associated throwable.

Link copied to clipboard
open fun info(tag: String, template: String, vararg args: Any?)

Logs a Level.INFO event.

open fun info(tag: String, throwable: Throwable, template: String, vararg args: Any?)

Logs a Level.INFO event with an associated throwable.

Link copied to clipboard
open override fun log(level: AckpineLogger.Level, tag: String, template: String, throwable: Throwable?, args: Array<out Any?>)

Logs an Ackpine event.

Link copied to clipboard
open fun verbose(tag: String, template: String, vararg args: Any?)

Logs a Level.VERBOSE event.

open fun verbose(tag: String, throwable: Throwable, template: String, vararg args: Any?)

Logs a Level.VERBOSE event with an associated throwable.

Link copied to clipboard
open fun warn(tag: String, template: String, vararg args: Any?)

Logs a Level.WARN event.

open fun warn(tag: String, throwable: Throwable, template: String, vararg args: Any?)

Logs a Level.WARN event with an associated throwable.