et f a b = &lt;some code&gt;
let f a b = ScubaLogging.execute_with_time_logging &quot;f&quot; (fun () -&gt; f a b)</code></pre></div></div><div class="odoc-spec"><div class="spec value" id="val-register_global_log_flushing_at_exit" class="anchored"><a href="#val-register_global_log_flushing_at_exit" class="anchor"></a><code><span><span class="keyword">val</span> register_global_log_flushing_at_exit : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div></div></body></html>