Previous Page | Next Page

Autocall Macro Reference

%LOG4SAS_WARN Autocall Macro



Logs a WARN message if the specified logger accepts WARN messages.
Category: Logging
Requirement: The MAUTOSOURCE system option must be set.
Requirement: The %LOG4SAS autocall macro must be invoked to initialize SAS logging before this macro is invoked.

Syntax
Syntax Description
Details
See Also

Syntax

%LOG4SAS_WARN(logger-name, message)


Syntax Description

logger-name

specifies the name of the logger to process this log event.

message

specifies the log event message.

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

Details

The %LOG4SAS_WARN autocall macro is a log event for warning messages. In order to log messages using this macro, you must previously define loggers and appenders.


See Also

Autocall macros

%LOG4SAS Autocall Macro

%LOG4SAS_APPENDER Autocall Macro

%LOG4SAS_LOGGER Autocall Macro

%LOG4SAS_DEBUG Autocall Macro

%LOG4SAS_WARN Autocall Macro

%LOG4SAS_INFO Autocall Macro

%LOG4SAS_ERROR Autocall Macro

%LOG4SAS_FATAL Autocall Macro

Example of Using Autocall Macros to Log Messages

Previous Page | Next Page | Top of Page