Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE void U_EXPORT2 utrace_setLevel ( int32_t  traceLevel  ) 

Setter for the trace level.

Parameters:
traceLevel A UTraceLevel value. ICU 2.8

Definition at line 412 of file utrace.c.

References UTRACE_OFF, and UTRACE_VERBOSE.

                               {
    if (level < UTRACE_OFF) {
        level = UTRACE_OFF;
    }
    if (level > UTRACE_VERBOSE) {
        level = UTRACE_VERBOSE;
    }
    utrace_level = level;
}


Generated by  Doxygen 1.6.0   Back to index