Previous Page | Next Page

Logger and Appender Object Language Reference

FATAL Method



Logs a FATAL message if the specified logger accepts FATAL messages.
Applies to: logger object

Syntax
Arguments
Details
Example
See Also

Syntax

object.FATAL ("message");


Arguments

object

specifies the name of the logger object.

message

specifies the message to write at the fatal level.

Requirement: The message must be enclosed in double quotation marks.

Details

The fatal level designates very severe error events that will probably cause the application to end abruptly. For more information about 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.fatal("Test fatal message");
run;


See Also

Method:

DEBUG Method

ERROR Method

INFO Method

TRACE Method

WARN Method

Previous Page | Next Page | Top of Page