AckpineLogger

fun interface AckpineLogger

Logger for Ackpine runtime events.

Ackpine message templates are String.format-compatible. Logcat renders them with Locale.ROOT.

Inheritors

Types

Link copied to clipboard

Severity level for an Ackpine log event.

Link copied to clipboard

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

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
abstract 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.