SYSTEM$LOG_INFO

functionsupportedUDFs, procedures, tasks, alerts, scripting

docs.snowflake.com ↗

System functions

Logs a message at the specified severity level.

Syntax

SYSTEM$LOG('<level>', <message>);

SYSTEM$LOG_TRACE(<message>);
SYSTEM$LOG_DEBUG(<message>);
SYSTEM$LOG_INFO(<message>);
SYSTEM$LOG_WARN(<message>);
SYSTEM$LOG_ERROR(<message>);
SYSTEM$LOG_FATAL(<message>);

Parameters

NameRequiredDescription
'level'requiredThe severity level at which to log the message. You can specify one of the following strings: ‘trace’ ‘debug’ ‘info’ ‘warn’ ‘error’ ‘fatal’
messagerequiredAn expression that resolves to the message to log. If the message is not a string, the function converts the message to a string.