66 UTRACE_FUNCTION_START=0,
67 UTRACE_U_INIT=UTRACE_FUNCTION_START,
69 #ifndef U_HIDE_DEPRECATED_API 75 #endif // U_HIDE_DEPRECATED_API 77 UTRACE_CONVERSION_START=0x1000,
78 UTRACE_UCNV_OPEN=UTRACE_CONVERSION_START,
79 UTRACE_UCNV_OPEN_PACKAGE,
80 UTRACE_UCNV_OPEN_ALGORITHMIC,
83 UTRACE_UCNV_FLUSH_CACHE,
86 #ifndef U_HIDE_DEPRECATED_API 92 #endif // U_HIDE_DEPRECATED_API 94 UTRACE_COLLATION_START=0x2000,
95 UTRACE_UCOL_OPEN=UTRACE_COLLATION_START,
98 UTRACE_UCOL_GET_SORTKEY,
99 UTRACE_UCOL_GETLOCALE,
100 UTRACE_UCOL_NEXTSORTKEYPART,
101 UTRACE_UCOL_STRCOLLITER,
102 UTRACE_UCOL_OPEN_FROM_SHORT_STRING,
104 #ifndef U_HIDE_DEPRECATED_API 110 #endif // U_HIDE_DEPRECATED_API 155 const char *fmt, va_list args);
169 UTraceData(
const void *context, int32_t fnNumber, int32_t level,
170 const char *fmt, va_list args);
338 int32_t indent,
const char *fmt, va_list args);
359 int32_t indent,
const char *fmt, ...);
UTraceLevel
Trace severity levels.
One more than the highest normal collation trace location.
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.
One more than the highest normal collation trace location.
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.
One more than the highest normal collation trace location.
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.