I’m happy to announce ppx_minidebug:
- Which is a syntax extension to instrument type-annotated bindings and functions with logging.
- The extension supports 3 value conversion mechanisms:
ppandshowfromderiving.show, andsexpfromppx_sexp_conv. - The
minidebug_runtimepackage provides 3 logging backends:Formatbased purely on formatters,Flushingthat converts to strings first and flushes output after every entry, andPrintBoxthat pretty-prints as trees using theprintboxpackage. - I reference a VS Code extension that builds flame graphs for the
Flushinglogger out-of-the-box.
