<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Pp_format (ppx_minidebug.Minidebug_runtime.Pp_format)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> â€“ <a href="../../index.html">ppx_minidebug</a> &#x00BB; <a href="../index.html">Minidebug_runtime</a> &#x00BB; Pp_format</nav><header class="odoc-preamble"><h1>Module <code><span>Minidebug_runtime.Pp_format</span></code></h1><p>The logged traces will be indented using OCaml's `Format` module.</p></header><nav class="odoc-toc"><ul><li><a href="#parameters">Parameters</a></li><li><a href="#signature">Signature</a></li></ul></nav><div class="odoc-content"><h2 id="parameters"><a href="#parameters" class="anchor"></a>Parameters</h2><div class="odoc-spec"><div class="spec parameter anchored" id="argument-1-_"><a href="#argument-1-_" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="argument-1-_/index.html">_</a></span><span> : <a href="../module-type-Debug_ch/index.html">Debug_ch</a></span></code></div></div><h2 id="signature"><a href="#signature" class="anchor"></a>Signature</h2><div class="odoc-spec"><div class="spec value anchored" id="val-close_log"><a href="#val-close_log" class="anchor"></a><code><span><span class="keyword">val</span> close_log : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-open_log_preamble_brief"><a href="#val-open_log_preamble_brief" class="anchor"></a><code><span><span class="keyword">val</span> open_log_preamble_brief : 
  <span><span class="label">fname</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">pos_lnum</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">pos_colnum</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">message</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">entry_id</span>:int <span class="arrow">&#45;&gt;</span></span>
  unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-open_log_preamble_full"><a href="#val-open_log_preamble_full" class="anchor"></a><code><span><span class="keyword">val</span> open_log_preamble_full : 
  <span><span class="label">fname</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">start_lnum</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">start_colnum</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">end_lnum</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">end_colnum</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">message</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">entry_id</span>:int <span class="arrow">&#45;&gt;</span></span>
  unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_value_sexp"><a href="#val-log_value_sexp" class="anchor"></a><code><span><span class="keyword">val</span> log_value_sexp : 
  <span><span class="optlabel">?descr</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">entry_id</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_result</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Sexplib0</span>.Sexp.t <span class="arrow">&#45;&gt;</span></span>
  unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_value_pp"><a href="#val-log_value_pp" class="anchor"></a><code><span><span class="keyword">val</span> log_value_pp : 
  <span><span class="optlabel">?descr</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">entry_id</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">pp</span>:<span>(<span><span class="xref-unresolved">Stdlib</span>.Format.formatter <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> unit)</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_result</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span>
  unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_value_show"><a href="#val-log_value_show" class="anchor"></a><code><span><span class="keyword">val</span> log_value_show : 
  <span><span class="optlabel">?descr</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">entry_id</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_result</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span>string <span class="arrow">&#45;&gt;</span></span>
  unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-exceeds_max_nesting"><a href="#val-exceeds_max_nesting" class="anchor"></a><code><span><span class="keyword">val</span> exceeds_max_nesting : <span>unit <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-exceeds_max_children"><a href="#val-exceeds_max_children" class="anchor"></a><code><span><span class="keyword">val</span> exceeds_max_children : <span>unit <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_entry_id"><a href="#val-get_entry_id" class="anchor"></a><code><span><span class="keyword">val</span> get_entry_id : <span>unit <span class="arrow">&#45;&gt;</span></span> int</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-max_nesting_depth"><a href="#val-max_nesting_depth" class="anchor"></a><code><span><span class="keyword">val</span> max_nesting_depth : <span><span>int option</span> <span class="xref-unresolved">Stdlib</span>.ref</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-max_num_children"><a href="#val-max_num_children" class="anchor"></a><code><span><span class="keyword">val</span> max_num_children : <span><span>int option</span> <span class="xref-unresolved">Stdlib</span>.ref</span></span></code></div></div></div></body></html>
