isTraceEnabled()

Determines if the trace level is greater than or equal to the trace level for which it is looking, if tracing is enabled at this level.

Syntax

public final static boolean isTraceEnabled(int traceLevel);

Parameters

traceLevel
Is the trace level to check.

Return values

Returns True if the agent trace level is greater than or equal to the trace level passed in.

Notes

Use this method before generating a message.

Copyright IBM Corporation 1997, 2004. All Rights Reserved.