The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

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