ConfigLogger
Type Alias: ConfigLogger
Section titled “Type Alias: 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.
Properties
Section titled “Properties”error: (
message,context?) =>void
Defined in: types.ts:72
Parameters
Section titled “Parameters”message
Section titled “message”string | Error
context?
Section titled “context?”Record<string, unknown>
Returns
Section titled “Returns”void
info: (
message,context?) =>void
Defined in: types.ts:70
Parameters
Section titled “Parameters”message
Section titled “message”string
context?
Section titled “context?”Record<string, unknown>
Returns
Section titled “Returns”void
warn: (
message,context?) =>void
Defined in: types.ts:71
Parameters
Section titled “Parameters”message
Section titled “message”string
context?
Section titled “context?”Record<string, unknown>
Returns
Section titled “Returns”void