mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-08 20:07:55 -04:00
5 lines
2.1 KiB
HTML
5 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Multi_collector (trace.Trace_util.Multi_collector)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../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">Index</a> » <a href="../../index.html">trace</a> » <a href="../index.html">Trace_util</a> » Multi_collector</nav><header class="odoc-preamble"><h1>Module <code><span>Trace_util.Multi_collector</span></code></h1><p>Combine multiple collectors into one</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-combine_l"><a href="#val-combine_l" class="anchor"></a><code><span><span class="keyword">val</span> combine_l : <span><span><a href="../../Trace_core/Collector/index.html#type-t">Trace_core.Collector.t</a> list</span> <span class="arrow">-></span></span> <a href="../../Trace_core/Collector/index.html#type-t">Trace_core.Collector.t</a></span></code></div><div class="spec-doc"><p>Combine multiple collectors, ie return a collector that forwards to every collector in the list.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-combine"><a href="#val-combine" class="anchor"></a><code><span><span class="keyword">val</span> combine :
|
||
<span><a href="../../Trace_core/Collector/index.html#type-t">Trace_core.Collector.t</a> <span class="arrow">-></span></span>
|
||
<span><a href="../../Trace_core/Collector/index.html#type-t">Trace_core.Collector.t</a> <span class="arrow">-></span></span>
|
||
<a href="../../Trace_core/Collector/index.html#type-t">Trace_core.Collector.t</a></span></code></div><div class="spec-doc"><p><code>combine s1 s2</code> is a collector that forwards every call to <code>s1</code> and <code>s2</code> both.</p></div></div></div></body></html>
|