LogInput
Type Alias: LogInput
Section titled “Type Alias: 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.
Properties
Section titled “Properties”
optionalargs?:unknown[]
Defined in: types.ts:109
printf-style arguments for message (see LogRecord.args).
context?
Section titled “context?”
optionalcontext?:Record<string,unknown>
Defined in: types.ts:103
Structured context, merged over the logger’s base context.
optionalkind?:string
Defined in: types.ts:107
Presentation tag (see LogRecord.kind).
level:
LogLevel
Defined in: types.ts:99
Severity level.
message
Section titled “message”message:
string|Error
Defined in: types.ts:101
Message string, or an Error to capture name/message/stack/cause/code.
optionalmeta?:Record<string,unknown>
Defined in: types.ts:105
Host passthrough payload (see LogRecord.meta).