</pre></div><divclass="public anchor"id="var-error-in-signal-.3Emaps"><h3>error-in-signal->maps</h3><h4class="lang current">clj</h4><h4class="lang"><ahref="taoensso.telemere.utils.cljs.html#var-error-in-signal-.3Emaps">cljs</a></h4><divclass="usage"><code>(error-in-signal->maps signal)</code></div><divclass="doc"><preclass="plaintext">Experimental, subject to change.
Returns given signal with possible `:error` replaced by
[{:keys [type msg data]} ...] cause chain.
Useful when serializing signals to edn/JSON/etc.</pre></div></div><divclass="public anchor"id="var-error-signal.3F"><h3>error-signal?</h3><h4class="lang current">clj</h4><h4class="lang"><ahref="taoensso.telemere.utils.cljs.html#var-error-signal.3F">cljs</a></h4><divclass="usage"><code>(error-signal? signal)</code></div><divclass="doc"><preclass="plaintext">Experimental, subject to change.
Returns true iff given signal has an `:error` value, or a `:kind` or `:level`
that indicates that it's an error.</pre></div></div><divclass="public anchor"id="var-file-writer"><h3>file-writer</h3><h4class="lang current">clj</h4><divclass="usage"><code>(file-writer {:keys [file append?], :or {append? true}})</code></div><divclass="doc"><preclass="plaintext">Experimental, subject to change.
- Automatically creates file and parent dirs as necessary.
- Writer should be manually closed after use (with zero-arity call).
- Flushes after every write.
- Thread safe, locks on single file stream.</pre></div></div><divclass="public anchor"id="var-format-error-fn"><h3>format-error-fn</h3><h4class="lang current">clj</h4><h4class="lang"><ahref="taoensso.telemere.utils.cljs.html#var-format-error-fn">cljs</a></h4><divclass="usage"><code>(format-error-fn)</code><code>(format-error-fn {:as _opts})</code></div><divclass="doc"><preclass="plaintext">Experimental, subject to change.
- Returns a human-readable error string.</pre></div></div><divclass="public anchor"id="var-format-inst-fn"><h3>format-inst-fn</h3><h4class="lang current">clj</h4><h4class="lang"><ahref="taoensso.telemere.utils.cljs.html#var-format-inst-fn">cljs</a></h4><h4class="added">added in Encore v3.98.0 (2024-04-08)</h4><divclass="usage"><code>(format-inst-fn)</code><code>(format-inst-fn {:keys [formatter zone], :or {formatter java.time.format.DateTimeFormatter/ISO_INSTANT, zone java.time.ZoneOffset/UTC}})</code></div><divclass="doc"><preclass="plaintext">Experimental, subject to change without notice.
See also `pr-signal-fn` for machine-readable output.</pre></div></div><divclass="public anchor"id="var-host-ip"><h3>host-ip</h3><h4class="lang current">clj</h4><divclass="usage"><code>(host-ip timeout-msecs timeout-val)</code><code>(host-ip)</code></div><divclass="doc"><preclass="plaintext">Returns cached local host IP address string, or `timeout-val` (default "UnknownHost").
Useful when serializing signals to edn/JSON/etc.</pre></div></div><divclass="public anchor"id="var-newline"><h3>newline</h3><h4class="lang current">clj</h4><h4class="lang"><ahref="taoensso.telemere.utils.cljs.html#var-newline">cljs</a></h4><h4class="added">added in Encore v3.68.0 (2023-09-25)</h4><divclass="usage"></div><divclass="doc"><preclass="plaintext">Single system newline
</pre></div></div><divclass="public anchor"id="var-pr-edn"><h3>pr-edn</h3><h4class="lang current">clj</h4><h4class="lang"><ahref="taoensso.telemere.utils.cljs.html#var-pr-edn">cljs</a></h4><divclass="usage"><code>(pr-edn x)</code></div><divclass="doc"><preclass="plaintext">Prints given arg to an edn string readable with `read-edn`.
See also `format-signal-fn` for human-readable output.</pre></div></div><divclass="public anchor"id="var-remove-kvs"><h3>remove-kvs</h3><h4class="lang current">clj</h4><h4class="lang"><ahref="taoensso.telemere.utils.cljs.html#var-remove-kvs">cljs</a></h4><divclass="usage"><code>(remove-kvs signal)</code></div><divclass="doc"><preclass="plaintext">Returns given signal without user-level kvs.
- Writer should be manually closed after use (with zero-arity call).
- Flushes after every write.
- Will retry failed writes once, then drop.
- Thread safe, locks on single socket stream.
- Advanced users may want a custom implementation using a connection
pool and/or more sophisticated retry semantics, etc.</pre></div></div><divclass="public anchor"id="var-thread-id"><h3>thread-id</h3><h4class="lang current">clj</h4><divclass="usage"><code>(thread-id)</code></div><divclass="doc"><preclass="plaintext">Returns long id of current thread.
</pre></div></div><divclass="public anchor"id="var-thread-info"><h3>thread-info</h3><h4class="lang current">clj</h4><divclass="usage"><code>(thread-info)</code></div><divclass="doc"><preclass="plaintext">Returns {:keys [group name id]} for current thread.
</pre></div></div><divclass="public anchor"id="var-thread-name"><h3>thread-name</h3><h4class="lang current">clj</h4><divclass="usage"><code>(thread-name)</code></div><divclass="doc"><preclass="plaintext">Returns string name of current thread.