Skip to main content

Interface: Logger

Defined in: shared/utils/logTemplates.ts:35

Logger interface for type safety with enhanced type utilities.

Propertiesโ€‹

debugโ€‹

debug: (message: string, context?: UnknownRecord) => void

Defined in: shared/utils/logTemplates.ts:36

Parametersโ€‹

messageโ€‹

string

context?โ€‹

UnknownRecord

Returnsโ€‹

void


errorโ€‹

error: (message: string, context?: UnknownRecord) => void

Defined in: shared/utils/logTemplates.ts:37

Parametersโ€‹

messageโ€‹

string

context?โ€‹

UnknownRecord

Returnsโ€‹

void


infoโ€‹

info: (message: string, context?: UnknownRecord) => void

Defined in: shared/utils/logTemplates.ts:38

Parametersโ€‹

messageโ€‹

string

context?โ€‹

UnknownRecord

Returnsโ€‹

void


warnโ€‹

warn: (message: string, context?: UnknownRecord) => void

Defined in: shared/utils/logTemplates.ts:39

Parametersโ€‹

messageโ€‹

string

context?โ€‹

UnknownRecord

Returnsโ€‹

void