跳转到内容
简体中文

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