JsonLogSink
Defined in: src/Logger.ts:101
Where a JsonLogger writes its records — by default process.stdout,
a '\n'-delimited stream that jq, vector, fluent-bit, the
Docker logging driver, and the Kubernetes log scraper all consume
out of the box. Inject a custom sink in tests (capturing array) or
to route to process.stderr / a file descriptor.
Methods
Section titled “Methods”write()
Section titled “write()”write(
line):void
Defined in: src/Logger.ts:102
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void