You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
5.3 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>LogEntry (infer.IBase.LogEntry)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">IBase</a> &#x00BB; 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><dt class="spec type" id="type-count_entry_data"><a href="#type-count_entry_data" class="anchor"></a><code><span class="keyword">type</span> count_entry_data</code><code> = </code><code>{</code><table class="record"><tr id="type-count_entry_data.value" class="anchored"><td class="def field"><a href="#type-count_entry_data.value" class="anchor"></a><code>value : int;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-time_entry_data"><a href="#type-time_entry_data" class="anchor"></a><code><span class="keyword">type</span> time_entry_data</code><code> = </code><code>{</code><table class="record"><tr id="type-time_entry_data.duration_ms" class="anchored"><td class="def field"><a href="#type-time_entry_data.duration_ms" class="anchor"></a><code>duration_ms : int;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-string_data"><a href="#type-string_data" class="anchor"></a><code><span class="keyword">type</span> string_data</code><code> = </code><code>{</code><table class="record"><tr id="type-string_data.message" class="anchored"><td class="def field"><a href="#type-string_data.message" class="anchor"></a><code>message : string;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-entry_data"><a href="#type-entry_data" class="anchor"></a><code><span class="keyword">type</span> entry_data</code><code> = </code><table class="variant"><tr id="type-entry_data.Count" class="anchored"><td class="def constructor"><a href="#type-entry_data.Count" class="anchor"></a><code>| </code><code><span class="constructor">Count</span> <span class="keyword">of</span> <a href="index.html#type-count_entry_data">count_entry_data</a></code></td></tr><tr id="type-entry_data.Time" class="anchored"><td class="def constructor"><a href="#type-entry_data.Time" class="anchor"></a><code>| </code><code><span class="constructor">Time</span> <span class="keyword">of</span> <a href="index.html#type-time_entry_data">time_entry_data</a></code></td></tr><tr id="type-entry_data.String" class="anchored"><td class="def constructor"><a href="#type-entry_data.String" class="anchor"></a><code>| </code><code><span class="constructor">String</span> <span class="keyword">of</span> <a href="index.html#type-string_data">string_data</a></code></td></tr></table></dt><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.label" class="anchored"><td class="def field"><a href="#type-t.label" class="anchor"></a><code>label : string;</code></td></tr><tr id="type-t.created_at_ts" class="anchored"><td class="def field"><a href="#type-t.created_at_ts" class="anchor"></a><code>created_at_ts : int;</code></td></tr><tr id="type-t.data" class="anchored"><td class="def field"><a href="#type-t.data" class="anchor"></a><code>data : <a href="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><dt class="spec value" id="val-mk_count"><a href="#val-mk_count" class="anchor"></a><code><span class="keyword">val</span> mk_count : <span>label:string</span> <span>&#45;&gt;</span> <span>value:int</span> <span>&#45;&gt;</span> <a href="index.html#type-t">