Products Downloads


French version


 

 

ADELIA

VADELIA

SADELIA

WADELIA

MADELIA

(I/B)

(I/B) (C/S)

(B) (S)

(I/B) (C/S)

(I) (C/S)

 

Section for use

All

 

Syntax

ADD_TRACE Level LoggerName

 

Message

AlphCst | AlphaVar

 

 

 

Level

*FATAL | *ERROR | *WARN | *INFO | *DEBUG | *TRACE | Nothing

 

 

 

LoggerName

AlphCst | Nothing

 

 

Description

This instruction adds a *ERROR level trace or a *WARN level trace if no level is specified to the trace mechanism.

This instruction adds an *ERROR or *WARNING-level trace if no level is stipulated in the trace mechanism.

A trace can be added to a specific logger by specifying its name.

By default, the trace is added to the logger called:

Platform / Program visibility

Public

Private

Java –Web - Cloud

<package>.<ObjectName>

<package>.<ObjectName>

C/Windows/AS400

pgm.env.<ObjectName>

pgm.<DomainName>.<ObjectName>

 

 

Click here for more information on configuring traces.

 

Example

ADD_TRACE 'This is a trace'

TraceText = 'This is a trace'

ADD_TRACE TraceText

ADD_TRACE TraceText *ERROR

ADD_TRACE TraceText 'MyLogger"'

ADD_TRACE TraceText *DEBUG 'MyLogger"

 

↑ Top of page


  • Aucune étiquette