The clock, read once for this module's adapters.
current-timestamp was defined identically in the stdout and datadog
logging adapters, both formatting an ISO-8601 string (BOU-302).
Scoped to logging rather than to the library: observability is four
modules — errors, logging, metrics, tracing — and check:ports treats a
require across them as a boundary crossing, correctly. The errors adapter
keeps its own one-line clock read for that reason.
The clock, read once for this module's adapters. `current-timestamp` was defined identically in the stdout and datadog logging adapters, both formatting an ISO-8601 string (BOU-302). Scoped to `logging` rather than to the library: observability is four modules — errors, logging, metrics, tracing — and `check:ports` treats a require across them as a boundary crossing, correctly. The errors adapter keeps its own one-line clock read for that reason.
(now-iso)The current instant as an ISO-8601 string — what log lines carry.
The current instant as an ISO-8601 string — what log lines carry.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |