Logger

interface Logger(source)

The logging interface for Couchbase Lite. If an application wants to receive log messages to an arbitrary endpoint, then it can by implementing this interface.

!!! There is, currently, no way to tell when the log level changes for a custom logger. Setting a more verbose log level will not have any effect until the logger is polled for its level.

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