protected final void setLevel ( int traceLevel ) { switch ( traceLevel ) { case Trace . Level_All : debugEnabled = true ; eventEnabled = true ; entryEnabled = true ; break ; case Trace . Level_Entry : debugEnabled = false ; eventEnabled = false ; entryEnabled = true ; break ; case Trace . Level_Debug : debugEnabled = true ; eventEnabled = false ; entryEnabled = false ; break ; case Trace . Level_Event : debugEnabled = false ; eventEnabled = true ; entryEnabled = false ; break ; case Trace . Level_None : debugEnabled = false ; eventEnabled = false ; entryEnabled = false ; break ; default : } // switch (traceLevel). }
Enable tracing of this component .