콘텐츠로 이동
한국어

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