sf-fx-runtime-nodejs / Logger

Interface: Logger

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

Table of contents 

Methods 

Methods 

debug 

▸ debug(message: string): void

Logs the given message at the ‘debug’ level.

Parameters 

NameTypeDescription
messagestringThe message to log.

Returns: void

void


error 

▸ error(message: string): void

Logs the given message at the ‘error’ level.

Parameters 

NameTypeDescription
messagestringThe message to log.

Returns: void

void


info 

▸ info(message: string): void

Logs the given message at the ‘info’ level.

Parameters 

NameTypeDescription
messagestringThe message to log.

Returns: void

void


trace 

▸ trace(message: string): void

Logs the given message at the ‘trace’ level.

Parameters 

NameTypeDescription
messagestringThe message to log.

Returns: void

void


warn 

▸ warn(message: string): void

Logs the given message at the ‘warn’ level.

Parameters 

NameTypeDescription
messagestringThe message to log.

Returns: void

void

Product Retirement Announcement

Salesforce Functions is no longer available for purchase or renewal. To preserve the capabilities that Salesforce Functions provided to your org, deploy an alternative solution before your existing order term ends. See Salesforce Functions Retirement for more information on migrating your functions. Contact your Salesforce Account Executive for more information on Heroku.