n></span>
  <span>name:string <span class="arrow">&#45;&gt;</span></span>
  <span><span>( <span>unit <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span> )</span> <span class="arrow">&#45;&gt;</span></span>
  <span class="type-var">'a</span></span></code></div><div class="spec-doc"><p>Execute arbitrary function (the last argument) with a given <code>name</code> so that all logs written inside (if any) are written with indentation.</p><p><code>pp_result</code>, if provided, will make 