Mentions légales du service

Skip to content

Logger with formatter

Thierry Martinez requested to merge tmartine/memcad:logger_with_formatter into master

Replace Buffer.t by Format.formatter in Logger signature.

Typing of "%a" specifications is now Format.formatter -> 'a -> unit instead of Buffer.t -> 'a -> unit: calls to *_bpr functions (printers to buffers) in logging parameters have to be replaced with *_fpr (printers to formatters).

The behavior should be the same as before.

Merge request reports