Pdf Log
Logger used for logging inside Nutrient.
This API allows injection of custom Logger implementations that can be used to achieve custom logging strategies for PSPDFKit framework logs.
Note: In a debuggable app the default Logger logs Log.DEBUG and above; in a release app it logs Log.INFO and above.
Types
Priority of log messages. Log priority defines verbosity of the message, from most verbose (Log.VERBOSE) to least (Log.ASSERT).
Functions
Adds a new logger that will be notified of all logs emitted by PdfLog.
Logs a Log.DEBUG message. The messageCallback is invoked only when the log is accepted by a registered logger via Logger.isLogged.
Logs a Log.DEBUG message, with optional String.format for message.
Logs a Log.DEBUG message with an optional throwable t, and optional String.format.
Logs an Log.ERROR message. The messageCallback is invoked only when the log is accepted by a registered logger via Logger.isLogged.
Logs an Log.ERROR message, with optional String.format for message.
Logs an Log.ERROR message with an optional throwable t, and optional String.format.
Returns an immutable snapshot of the currently registered loggers.
Logs an Log.INFO message. The messageCallback is invoked only when the log is accepted by a registered logger via Logger.isLogged.
Logs an Log.INFO message, with optional String.format for message.
Logs an Log.INFO message with an optional throwable t, and optional String.format.
Removes all registered loggers. Effectively disables logging.
Removes a previously registered logger.
Sets the loggers notified of all logs emitted by PdfLog, replacing all previously registered ones.
Logs a Log.VERBOSE message. The messageCallback is invoked only when the log is accepted by a registered logger via Logger.isLogged.
Logs a Log.VERBOSE message, with optional String.format for message.
Logs a Log.VERBOSE message with an optional throwable t, and optional String.format.
Logs a Log.WARN message. The messageCallback is invoked only when the log is accepted by a registered logger via Logger.isLogged.
Logs a Log.WARN message, with optional String.format for message.
Logs a Log.WARN message with an optional throwable t, and optional String.format.