Logger

interface Logger(source)

The logging interface for Couchbase Lite. An application that wishes to route log messages to an arbitrary endpoint can do so by installing an implementation of this interface with Log.setCustom.

Inheritors

Properties

Link copied to clipboard
abstract val level: LogLevel

Gets the level that will be logged via this logger.

Functions

Link copied to clipboard
abstract fun log(level: LogLevel, domain: LogDomain, message: String)

Performs the actual logging logic