com.pspdfkit.utils.PdfLog.Logger |
![]() |
Interface for custom loggers that can be registered in PdfLog
to implement custom
logging strategies.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
isLogged(int priority, String tag)
Override this method to enable or disable logging for log with given
priority and
tag . | ||||||||||
abstract void |
log(int priority, String tag, String message, Throwable throwable)
Implement this method to log messages.
|
Override this method to enable or disable logging for log with given priority
and
tag
. By default all log requests are handled.
priority | The priority of this log message. |
---|---|
tag | Tag to identify the source of this log message. |
Implement this method to log messages.
priority | The priority of this log message. |
---|---|
tag | Tag to identify the source of this log message. |
message | Message that should be logged. |
throwable | Optional throwable attached to log message. |