specifies the message
to write at the error level.
Requirement
The message must be enclosed in double quotation marks.
Details
The error level designates
error events. The application might be able to continue running. For
more information about the logging levels, see Logging Thresholds.
Example
The following example
creates an error message for the logger.
data _null_;
if _n_ = 1 then do;
declare logger logobj("testlog");
end;
logobj.error("Test error message");
run;