HCTracePlatformWriteMessageToDebuggerCallback
Platform hook that writes a formatted libHttpClient trace message to the debugger.Syntax
Parameters
The header declares these parameters without names. This page uses descriptive labels. areaNameType: char const* Name of the trace area that produced the message. level
Type: HCTraceLevel Trace level of the message. message
Type: char const* Formatted message, including the thread ID, level, time, and area prefix and a trailing line break. context
Type: void* The writeToDebuggerContext value that was passed to HCTraceSetPlatformCallbacks.
Return value
Type: voidRemarks
Set this callback by calling HCTraceSetPlatformCallbacks before you initialize libHttpClient. libHttpClient calls the callback only when debugger output is turned on by HCTraceSetTraceToDebugger.The XBOX Game Development Kit (GDK) builds of libHttpClient for Windows PC and XBOX consoles don’t call this callback. They write debugger output with
OutputDebugStringA instead. Only libHttpClient builds that use the generic platform tracing implementation call this hook.Requirements
Header: trace.h Library: libHttpClient.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
traceHCTraceSetPlatformCallbacks
HCTracePlatformThisThreadIdCallback
HCTraceSetTraceToDebugger
