LogLogger

interface LogLogger

Interface for custom loggers. Defines the contract for logging systems used in the application.

By default, NoLog is used, which disables all logging. To enable logging, call LogLogger.install with a concrete logger implementation.

Custom loggers can implement this interface to handle logs differently, e.g., sending logs to a file, console, or remote server.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun isLoggable(priority: LogPriority): Boolean

Determines whether a log message with the given priority should be logged.

Link copied to clipboard
abstract fun log(priority: LogPriority, logDomain: String, message: String)

Logs the given message with the specified priority and logDomain.