Interface LogContext

Context which you could add as a first argument to any of jamLogger methods

Hierarchy

  • LogContext

Indexable

[key: string]: unknown

Properties

sanitize?: readonly string[]
stringify?: boolean
tags?: readonly string[]
trimStack?: number

Trims Errors payload stack to number of lines.

withStack?: boolean

True for payloads with Error. Creates synthetic stack for any level if there is no Error payload. Otherwise hides it.

Generated using TypeDoc