Logger
Interface for custom loggers that can be registered in PdfLog to implement custom logging strategies.
A fun interface so Kotlin callers can register one with a lambda (SAM conversion) — the single abstract method is log; isLogged has a default. This matches how the previous Java interface behaved as a functional interface.