CallListLogger

Logger implementation which keeps every log in-memory and makes them available for retrieval as a List of Calls.

This is useful for testing functionality that affects which logs propagate to a Logger, such as a custom LogFilter.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
override fun assert(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)
Link copied to clipboard
override fun debug(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)
Link copied to clipboard
override fun error(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)
Link copied to clipboard
override fun info(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)
Link copied to clipboard
open override fun log(level: LogLevel, tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)
Link copied to clipboard
override fun verbose(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)
Link copied to clipboard
override fun warn(tag: String, message: String, metadata: ReadMetadata, throwable: Throwable?)