Skip to main content

Interface: Logger

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

Logger interface for type safety with enhanced type utilities.

Propertiesโ€‹

debug()โ€‹

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

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

Parametersโ€‹

messageโ€‹

string

context?โ€‹

UnknownRecord

Returnsโ€‹

void


error()โ€‹

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

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

Parametersโ€‹

messageโ€‹

string

context?โ€‹

UnknownRecord

Returnsโ€‹

void


info()โ€‹

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

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

Parametersโ€‹

messageโ€‹

string

context?โ€‹

UnknownRecord

Returnsโ€‹

void


warn()โ€‹

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

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

Parametersโ€‹

messageโ€‹

string

context?โ€‹

UnknownRecord

Returnsโ€‹

void