Logger

interface Logger

Interface for custom loggers that can be registered in PdfLog to implement custom logging strategies.

Inheritors

Functions

Link copied to clipboard
open fun isLogged(priority: Int, @NonNull tag: String): Boolean
Override this method to enable or disable logging for log with given priority and tag.
Link copied to clipboard
abstract fun log(priority: Int, @NonNull tag: String, @NonNull message: String, @Nullable throwable: Throwable)
Implement this method to log messages.