Logging facility
It replaces expression of the form:
Lwt_log.info_f ~section "x = %d" x
by
if Lwt_log.Section.level section <= Lwt_log.Info then
Lwt_log.info_f ~section "x = %d" x
else
return ()
Note:
Log.info "%d"
will make compilation fail