Skip to main content

core.logger

Home > @medplum/core > Logger

Logger class

Signature:

export declare class Logger 

Constructors

Constructor

Modifiers

Description

(constructor)(write, metadata, level)

Constructs a new instance of the Logger class

Properties

Property

Modifiers

Type

Description

level

LogLevel

metadata

readonly

Record<string, any>

write

readonly

(msg: string) => void

Methods

Method

Modifiers

Description

debug(msg, data)

error(msg, data)

info(msg, data)

log(level, msg, data)

warn(msg, data)