Skip to content

ConfigLogger

ConfigLogger = object

Defined in: types.ts:69

Optional logger interface compatible with @arshad-shah/log-kit’s Logger.

Defining the shape locally rather than importing avoids a hard dependency: config-kit can run with or without log-kit. This is a structural type, so any object with these methods works.

error: (message, context?) => void

Defined in: types.ts:72

string | Error

Record<string, unknown>

void


info: (message, context?) => void

Defined in: types.ts:70

string

Record<string, unknown>

void


warn: (message, context?) => void

Defined in: types.ts:71

string

Record<string, unknown>

void