66 UTRACE_FUNCTION_START=0,
67 UTRACE_U_INIT=UTRACE_FUNCTION_START,
70 #ifndef U_HIDE_DEPRECATED_API 76 #endif // U_HIDE_DEPRECATED_API 78 UTRACE_CONVERSION_START=0x1000,
79 UTRACE_UCNV_OPEN=UTRACE_CONVERSION_START,
80 UTRACE_UCNV_OPEN_PACKAGE,
81 UTRACE_UCNV_OPEN_ALGORITHMIC,
84 UTRACE_UCNV_FLUSH_CACHE,
88 #ifndef U_HIDE_DEPRECATED_API 94 #endif // U_HIDE_DEPRECATED_API 96 UTRACE_COLLATION_START=0x2000,
97 UTRACE_UCOL_OPEN=UTRACE_COLLATION_START,
100 UTRACE_UCOL_GET_SORTKEY,
101 UTRACE_UCOL_GETLOCALE,
102 UTRACE_UCOL_NEXTSORTKEYPART,
103 UTRACE_UCOL_STRCOLLITER,
104 UTRACE_UCOL_OPEN_FROM_SHORT_STRING,
107 #ifndef U_HIDE_DEPRECATED_API 113 #endif // U_HIDE_DEPRECATED_API 115 #ifndef U_HIDE_DRAFT_API 170 #endif // U_HIDE_DRAFT_API 172 #ifndef U_HIDE_INTERNAL_API 178 #endif // U_HIDE_INTERNAL_API 224 const char *fmt, va_list args);
238 UTraceData(
const void *context, int32_t fnNumber, int32_t level,
239 const char *fmt, va_list args);
407 int32_t indent,
const char *fmt, va_list args);
428 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.
The lowest resource/data location.
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.
One more than the highest normal resource/data trace location.
Indicates that a resource bundle was opened.
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...
Indicates that a data file was opened, but not *.res files.
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.
Indicates that a value was read from a resource bundle.
#define U_CDECL_END
This is used to end a declaration of a library private ICU C API.
Indicates that a *.res file was opened.
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.