GlimpseLogger

interface GlimpseLogger

A common interface for a logger.

Types

Companion
Link copied to clipboard
object Companion

Functions

debug
Link copied to clipboard
abstract fun debug(message: String)

Logs a given message at a debug level.

abstract fun debug(message: String, exception: Throwable)

Logs a given message with a given exception at a debug level.

error
Link copied to clipboard
abstract fun error(message: String)

Logs a given message at an error level.

abstract fun error(message: String, exception: Throwable)

Logs a given message with a given exception at an error level.

info
Link copied to clipboard
abstract fun info(message: String)

Logs a given message at a info level.

abstract fun info(message: String, exception: Throwable)

Logs a given message with a given exception at a info level.

warn
Link copied to clipboard
abstract fun warn(message: String)

Logs a given message at a warning level.

abstract fun warn(message: String, exception: Throwable)

Logs a given message with a given exception at a warning level.