Previous Page | Next Page

Autocall Macro Reference

%LOG4SAS Autocall Macro



Initializes the logging environment to use autocall macros.
Category: Logging
Requirement: The MAUTOSOURCE system option must be set.
Requirement: This macro must be invoked before any other logging autocall macro can be invoked.

Syntax
Details
See Also

Syntax

%LOG4SAS( )


Details

You invoke the %LOG4SAS autocall macro in order to initialize the logging environment for SAS programming. To ensure that the logging environment is initialized when SAS starts, you can invoke the %LOG4SAS autocall macro as follows:

You can also invoke the %LOG4SAS autocall macro by placing it at the beginning of your SAS program.


See Also

Autocall macros

%LOG4SAS_APPENDER Autocall Macro

%LOG4SAS_LOGGER Autocall Macro

%LOG4SAS_DEBUG Autocall Macro

%LOG4SAS_TRACE 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