Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

sf-fx-runtime-nodejs / Logger

Interface: Logger

Represents the logging functionality to log given messages at various levels.

debug(message: string): void

Logs the given message at the 'debug' level.

NameTypeDescription
messagestringThe message to log.

Returns: void

void


error(message: string): void

Logs the given message at the 'error' level.

NameTypeDescription
messagestringThe message to log.

Returns: void

void


info(message: string): void

Logs the given message at the 'info' level.

NameTypeDescription
messagestringThe message to log.

Returns: void

void


trace(message: string): void

Logs the given message at the 'trace' level.

NameTypeDescription
messagestringThe message to log.

Returns: void

void


warn(message: string): void

Logs the given message at the 'warn' level.

NameTypeDescription
messagestringThe message to log.

Returns: void

void