Previous Page | Next Page

Logger and Appender Object Language Reference

TRACE Method



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

Syntax
Arguments
Details
Example
See Also

Syntax

object.TRACE ("message");


Arguments

object

specifies the name of the logger object.

message

specifies the message to write at the trace level.

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

Details

The trace level designates finer-grained informational events then DEBUG. For more information about logging levels, see Logging Thresholds.


Example

The following example creates a trace message for a logger.

data _null_;
   if _n_ = 1 then do;
      declare logger logobj("testlog");
   end;
   logobj.trace("Test trace message");
run;


See Also

Method:

DEBUG Method

ERROR Method

FATAL Method

INFO Method

WARN Method

Previous Page | Next Page | Top of Page