Previous Page | Next Page

Logger and Appender Object Language Reference

DEBUG Method



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

Syntax
Arguments
Details
Examples
See Also

Syntax

object.DEBUG ("message");


Arguments

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.

Details

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.


Examples

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;


See Also

Method:

ERROR Method

FATAL Method

INFO Method

TRACE Method

WARN Method

Previous Page | Next Page | Top of Page