com.cisco.services.tracing
Interface ConditionalTrace

All Superinterfaces:
Trace
All Known Implementing Classes:
ConditionalTraceImpl

public interface ConditionalTrace
extends Trace

The ConditionalTrace interface extends the Trace interface and defines the methods that allow enabling and disabling of tracing for this particular condition.

Typically, applications would obtain one ConditionalTrace object per each condition that they need to trace under certain circumstances but not always (e.g. AUDIT, INFO, etc.).

Version:
0.1

Field Summary
 
Fields inherited from interface com.cisco.services.tracing.Trace
ALERTS, ALERTS_TRACE_NAME, CRITICAL, CRITICAL_TRACE_NAME, DEBUGGING, DEBUGGING_TRACE_NAME, EMERGENCIES, EMERGENCIES_TRACE_NAME, ERROR, ERROR_TRACE_NAME, HIGHEST_LEVEL, INFORMATIONAL, INFORMATIONAL_TRACE_NAME, LOWEST_LEVEL, NOTIFICATION, NOTIFICATION_TRACE_NAME, WARNING, WARNING_TRACE_NAME
 
Method Summary
 void disable()
          Disables this condition for tracing.
 void enable()
          Enables this condition for tracing.
 
Methods inherited from interface com.cisco.services.tracing.Trace
getName, getSubFacility, getType, isEnabled, println, println, println, println, setDefaultMnemonic
 

Method Detail

enable

void enable()
Enables this condition for tracing.


disable

void disable()
Disables this condition for tracing.