コンテンツにスキップ
日本語

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.

write(line): void

Defined in: src/Logger.ts:102

string

void