Avoid unneeded logging overhead if OCAML_SQLEXPR_LOG not defined.