Skip to main content

$info

$info(message?) -> undefined
Compact type signature<s?:u>
Browse categories

Source: FUME

Availability​

Community v1.0.0+
Enterprise v1.0.0+

The structured diagnostic behavior described below is available from Community v3.0.0 and Enterprise v3.0.0. Earlier releases provide informational logging.

Documentation​

Emits an informational diagnostic entry and returns undefined.

Use $info() for non-fatal status messages that should be visible to diagnostics consumers while the mapping continues. This helper belongs to Diagnostics And Errors.

FUME coerces the message to a string, records it with code F5500, and attaches the current executionId to the diagnostic entry. During verbose evaluation the entry is collected under diagnostics.debug, and if the active policy allows logging, the configured logger receives the same message through its info() method.

Examples​

Emit an info log entry​

No file-backed example is used here because $info() does not read the input; the important contract is its side effect and undefined return value.

This function has a side effect (emits a log entry). It returns undefined.

Input

null

Expression

$info("Eligibility check completed")

Result

undefined