The library documents itself · Collections & objects
stzLog
28 own methods · 3 forms written with extensions, listed under their method
the source: base/common/stzLog.ring(opens in a new tab) · All classes · The area reference: Collections & objects
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Name
(no comment in the source: the name reads as a sentence) nameno extension
SetLevel
configuration (Q-fluent) ---------------------------------------- only entries at or above this level are recorded.QCSXTZZZIBWU
Level
(no comment in the source: the name reads as a sentence) levelno extension
SetEcho
(no comment in the source: the name reads as a sentence) set echoQCSXTZZZIBWU
SetCap
retain at most n entries (0 = unbounded); oldest are evicted first.QCSXTZZZIBWU
Record
writing (returns This, so writes chain) ------------------------- the general, STRUCTURED write: level + message + fields ([ [k, v], ... ]).no extension
Trace
level shortcuts (no fields) -- the common case.no extension
Debug
(no comment in the source: the name reads as a sentence) debugno extension
Info
(no comment in the source: the name reads as a sentence) infono extension
Warn
(no comment in the source: the name reads as a sentence) warnno extension
Error
(no comment in the source: the name reads as a sentence) errorno extension
Fatal
(no comment in the source: the name reads as a sentence) fatalno extension
Entries
query (logs as data)no extension
NumberOfEntries
(no comment in the source: the name reads as a sentence) number of entriesno extension
LastEntry
(no comment in the source: the name reads as a sentence) last entryno extension
EntriesOfLevel
every entry at exactly this level.no extension
CountOfLevel
(no comment in the source: the name reads as a sentence) count of levelno extension
Where
every entry carrying a field key = value (structured query).no extension
OfTrace
every entry stamped with this trace id (perf P9) -- the bridge from an alert's trip trace-ids to the log lines of those trips.no extension
Since
entries at or after an epoch-ms timestamp.no extension
Clear
(no comment in the source: the name reads as a sentence) clearno extension
AsText
renderingno extension
Show
(no comment in the source: the name reads as a sentence) showno extension
AsJson
a JSON array of the entries -- ship to any log pipeline. Fields are inlined as top-level keys alongside ts / level / category / message.no extension
WriteToFile
(no comment in the source: the name reads as a sentence) write to fileno extension
WriteJsonToFile
(no comment in the source: the name reads as a sentence) write json to fileno extension
OtelJson
The OTLP logs envelope (perf P9) -- what a collector ingests at /v1/logs, completing the OTel triad (spans P0/P7, metrics P2, logs here). Each record carries timeUnixNano (exact ms + zeros), severityText/Number, the body, the fields as attributes -- and the trace id PROMOTED to the logRecord's first-class traceId field, where tracing backends expect it.no extension

