Logger and Appender Object Language Reference |
Logs a DEBUG message if the specified logger accepts DEBUG messages.
Applies to: |
logger object
|
object.DEBUG ("message");
|
- object
-
specifies the name of the logger object.
- message
-
specifies the message to write at the debug level.
Requirement: |
The message must be enclosed in
quotation marks. |
The debug level designates fine-grained informational
events that are most useful to debug an application. For more information
about logging levels, see Logging Thresholds.
The following example creates a debugging message for the logger.
data _null_;
if _n_ = 1 then do;
declare logger logobj("testlog");
end;
logobj.debug("Test debug message");
run;
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.