Module Pdfe

module Pdfe: sig .. end

Errors


type logger = string -> unit 

The type of loggers. Subject to change.

val default : logger

Default error logger, writes the string to stderr and flushes.

val logger : logger Stdlib.ref

The current error logger, set to default upon startup.

val suppress_adjacent_duplicates : bool Stdlib.ref

If set (default clear), identical errors in sequence will be supressed.

val log : logger

Log a string.

val logf : ('a -> string, unit, string) Stdlib.format -> 'a -> unit

Log a formatted string, similar to printf.