64 UTRACE_FUNCTION_START=0,
65 UTRACE_U_INIT=UTRACE_FUNCTION_START,
67 UTRACE_FUNCTION_LIMIT,
69 UTRACE_CONVERSION_START=0x1000,
70 UTRACE_UCNV_OPEN=UTRACE_CONVERSION_START,
71 UTRACE_UCNV_OPEN_PACKAGE,
72 UTRACE_UCNV_OPEN_ALGORITHMIC,
75 UTRACE_UCNV_FLUSH_CACHE,
78 UTRACE_CONVERSION_LIMIT,
80 UTRACE_COLLATION_START=0x2000,
81 UTRACE_UCOL_OPEN=UTRACE_COLLATION_START,
84 UTRACE_UCOL_GET_SORTKEY,
85 UTRACE_UCOL_GETLOCALE,
86 UTRACE_UCOL_NEXTSORTKEYPART,
87 UTRACE_UCOL_STRCOLLITER,
88 UTRACE_UCOL_OPEN_FROM_SHORT_STRING,
90 UTRACE_COLLATION_LIMIT
135 const char *fmt, va_list args);
149 UTraceData(
const void *context, int32_t fnNumber, int32_t level,
150 const char *fmt, va_list args);
318 int32_t indent,
const char *fmt, va_list args);
339 int32_t indent,
const char *fmt, ...);
UTraceLevel
Trace severity levels.
Trace the maximum number of ICU operations.
void UTraceEntry(const void *context, int32_t fnNumber)
Type signature for the trace function to be called when entering a function.
void UTraceExit(const void *context, int32_t fnNumber, const char *fmt, va_list args)
Type signature for the trace function to be called when exiting from a function.
int32_t utrace_getLevel(void)
Getter for the trace level.
Trace error conditions only.
#define U_CDECL_BEGIN
This is used to begin a declaration of a library private ICU C API.
Trace an intermediate number of ICU operations.
void UTraceData(const void *context, int32_t fnNumber, int32_t level, const char *fmt, va_list args)
Type signature for the trace function to be called from within an ICU function to display data or mes...
void utrace_setLevel(int32_t traceLevel)
Setter for the trace level.
const char * utrace_functionName(int32_t fnNumber)
Get the name of a function from its trace function number.
Trace errors and warnings.
void utrace_setFunctions(const void *context, UTraceEntry *e, UTraceExit *x, UTraceData *d)
Set ICU Tracing functions.
int32_t utrace_format(char *outBuf, int32_t capacity, int32_t indent, const char *fmt,...)
Trace output Formatter.
UTraceFunctionNumber
These are the ICU functions that will be traced when tracing is enabled.
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
Basic definitions for ICU, for both C and C++ APIs.
Trace opens and closes of ICU services.
int32_t utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args)
Trace output Formatter.
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
void utrace_getFunctions(const void **context, UTraceEntry **e, UTraceExit **x, UTraceData **d)
Get the currently installed ICU tracing functions.