This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>LogEntry (infer.IBase.LogEntry)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">IBase</a>» LogEntry</nav><h1>Module <code>IBase.LogEntry</code></h1></header><aside><p>Log entry data model, global log entry store and functions to manipulate it. Direct access to the store is not exposed.</p></aside><dl><dtclass="spec type"id="type-count_entry_data"><ahref="#type-count_entry_data"class="anchor"></a><code><spanclass="keyword">type</span> count_entry_data</code><code> = </code><code>{</code><tableclass="record"><trid="type-count_entry_data.value"class="anchored"><tdclass="def field"><ahref="#type-count_entry_data.value"class="anchor"></a><code>value : int;</code></td></tr></table><code>}</code></dt><dtclass="spec type"id="type-time_entry_data"><ahref="#type-time_entry_data"class="anchor"></a><code><spanclass="keyword">type</span> time_entry_data</code><code> = </code><code>{</code><tableclass="record"><trid="type-time_entry_data.duration_ms"class="anchored"><tdclass="def field"><ahref="#type-time_entry_data.duration_ms"class="anchor"></a><code>duration_ms : int;</code></td></tr></table><code>}</code></dt><dtclass="spec type"id="type-string_data"><ahref="#type-string_data"class="anchor"></a><code><spanclass="keyword">type</span> string_data</code><code> = </code><code>{</code><tableclass="record"><trid="type-string_data.message"class="anchored"><tdclass="def field"><ahref="#type-string_data.message"class="anchor"></a><code>message : string;</code></td></tr></table><code>}</code></dt><dtclass="spec type"id="type-entry_data"><ahref="#type-entry_data"class="anchor"></a><code><spanclass="keyword">type</span> entry_data</code><code> = </code><tableclass="variant"><trid="type-entry_data.Count"class="anchored"><tdclass="def constructor"><ahref="#type-entry_data.Count"class="anchor"></a><code>| </code><code><spanclass="constructor">Count</span><spanclass="keyword">of</span><ahref="index.html#type-count_entry_data">count_entry_data</a></code></td></tr><trid="type-entry_data.Time"class="anchored"><tdclass="def constructor"><ahref="#type-entry_data.Time"class="anchor"></a><code>| </code><code><spanclass="constructor">Time</span><spanclass="keyword">of</span><ahref="index.html#type-time_entry_data">time_entry_data</a></code></td></tr><trid="type-entry_data.String"class="anchored"><tdclass="def constructor"><ahref="#type-entry_data.String"class="anchor"></a><code>| </code><code><spanclass="constructor">String</span><spanclass="keyword">of</span><ahref="index.html#type-string_data">string_data</a></code></td></tr></table></dt><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code><code> = </code><code>{</code><tableclass="record"><trid="type-t.label"class="anchored"><tdclass="def field"><ahref="#type-t.label"class="anchor"></a><code>label : string;</code></td></tr><trid="type-t.created_at_ts"class="anchored"><tdclass="def field"><ahref="#type-t.created_at_ts"class="anchor"></a><code>created_at_ts : int;</code></td></tr><trid="type-t.data"class="anchored"><tdclass="def field"><ahref="#type-t.data"class="anchor"></a><code>data : <ahref="index.html#type-entry_data">entry_data</a>;</code></td></tr></table><code>}</code></dt><dd><p>created_at_ts is a unix timestamp (in seconds)</p></dd></dl><dl><dtclass="spec value"id="val-mk_count"><ahref="#val-mk_count"class="anchor"></a><code><spanclass="keyword">val</span> mk_count : <span>label:string</span><span>-></span><span>value:int</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-mk_time"><ahref="#val-mk_time"class="anchor"></a><code><spanclass="keyword">val</span> mk_time : <span>label:string</span><span>-></span><span>duration_ms:int</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-mk_string"><ahref="#val-mk_string"class="anchor"></a><code><spanclass="keyword">val</span> mk_string : <span>label:string</span><span>-></span><span>message:string</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-global_log_get"><ahref="#val-global_log_get"class="anchor"></a><code><spanclass="keyword">val</span> global_log_get : unit <span>-></span><span><ahref="index.html#type-t">t</a> list</span></code></dt><dtclass="spec value"id="val-global_log_erase"><ahref="#val-global_log_erase"class="anchor"></a><code><spanclass="keyword">val</span> global_log_erase : unit <span>-></span> unit</code></dt><dtclass="spec value"id="val-global_log_add"><ahref="#val-global_log_add"class="anchor"></a><code><spanclass="keyword">val</span> global_log_add : <ahref="index.html#type-t">t</a><span>-></span> unit</code></dt></dl></div></body></html>