PdfLog
object PdfLog
Diagnostics hook for conditions PdfKmp handles gracefully but silently — undecodable image bytes, missing fonts falling back to the default, and similar "the document still renders, but not the way you meant" cases.
Off by default: a PDF library should not write to an app's console uninvited. Install a logger during development to surface the warnings:
PdfLog.logger = { message -> println("PdfKmp: $message") }Content copied to clipboard