Skip to content

LogInput

LogInput = object

Defined in: types.ts:97

Full-control input for Logger.log. Lets a host build a record with any of the first-class fields (meta, kind, args) that the convenience methods (info, warn, …) don’t expose, without smuggling them through context.

optional args?: unknown[]

Defined in: types.ts:109

printf-style arguments for message (see LogRecord.args).


optional context?: Record<string, unknown>

Defined in: types.ts:103

Structured context, merged over the logger’s base context.


optional kind?: string

Defined in: types.ts:107

Presentation tag (see LogRecord.kind).


level: LogLevel

Defined in: types.ts:99

Severity level.


message: string | Error

Defined in: types.ts:101

Message string, or an Error to capture name/message/stack/cause/code.


optional meta?: Record<string, unknown>

Defined in: types.ts:105

Host passthrough payload (see LogRecord.meta).