ocaml-trace/trace/Trace_util/Multi_collector/index.html
2026-01-21 01:25:53 +00:00

5 lines
2.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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> &#x00BB; <a href="../../index.html">trace</a> &#x00BB; <a href="../index.html">Trace_util</a> &#x00BB; 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">&#45;&gt;</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">&#45;&gt;</span></span>
<span><a href="../../Trace_core/Collector/index.html#type-t">Trace_core.Collector.t</a> <span class="arrow">&#45;&gt;</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>