MockzillaLogWriter

Extension point for routing Mockzilla's internal log output to a custom sink, such as a crash reporting service or custom logger. Register via MockzillaConfig.Builder.addLogWriter.

Functions

Link copied to clipboard
abstract fun log(logLevel: MockzillaConfig.LogLevel, message: String, tag: String, throwable: Throwable? = null)

Called by Mockzilla for each log entry.