INFO Method

Logs an INFO message if the specified logger accepts INFO messages.
Applies to: logger object

Syntax

object.INFO ("message");

Required Arguments

object
specifies the name of the logger object.
message
specifies the message to write at the info level.
Requirement The message must be enclosed in double quotation marks.

Details

The info level designates informational events that highlight the progress of an application at a coarse-grained level. For more information about logging levels, see Logging Thresholds.

Example

The following example creates an info message for the logger.
data _null_;
   if _n_ = 1 then do;
      declare logger logobj("testlog");
   end;
   logobj.info("Test info message");
run;