Skip to main content

LoggerConfig

Upgather SDK


Upgather SDK / LoggerConfig

Interface: LoggerConfig

Configuration options for logging behavior.

Properties

defaultMeta?

optional defaultMeta: Record<string, unknown>

Additional metadata to include with every log entry.


level?

optional level: "debug" | "info" | "warn" | "error" | "silent"

Minimum log level to output. Messages below this level will be suppressed.

Default Value

'info'

prefix?

optional prefix: string

Prefix to prepend to all log messages for context identification.

Default Value

'upgather-sdk'