Interfacetypesv0.16.2ILogSinkA destination for log records. interface ILogSinkMember overviewPropertieskindMethodsdispose()onLog()PropertieskindA 'console' sink stops getting records while a capture sink that mutes the console is installed, like the dev terminal's. 'file' and 'capture' sinks keep getting them. readonly kind: LogSinkKindMethodsdispose()Runs when a later logger config leaves this sink out. Close a file handle or a connection here. dispose?(): voidonLog()Can be async. seedcord doesn't await it, and an edge bot keeps the request open until it finishes. onLog(record: LogRecord): unknown
kindA 'console' sink stops getting records while a capture sink that mutes the console is installed, like the dev terminal's. 'file' and 'capture' sinks keep getting them. readonly kind: LogSinkKind
dispose()Runs when a later logger config leaves this sink out. Close a file handle or a connection here. dispose?(): void
onLog()Can be async. seedcord doesn't await it, and an edge bot keeps the request open until it finishes. onLog(record: LogRecord): unknown