Runtime components : Runtime Tools : Trace Facility : Trace APIs : API to check if the trace is enabled
  
API to check if the trace is enabled
The BTTLog class provides the APIs to check if trace is enabled:
public boolean doDebug()
public boolean doInfo()
public boolean doWarn()
public boolean doError()
public boolean doFatal()
See also
Trace APIs