Skip to main content

core.logger.log

Home > @medplum/core > Logger > log

Logger.log() method

Signature:

log(level: LogLevel, msg: string, data?: Record<string, any> | Error): void;

Parameters

Parameter

Type

Description

level

LogLevel

msg

string

data

Record<string, any> | Error

(Optional)

Returns:

void