Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the trace level for libHttpClient.
Syntax
HRESULT HCSettingsSetTraceLevel(
HCTraceLevel traceLevel
)
Parameters
traceLevel _In_
Type: HCTraceLevel
Trace level.
Return value
Type: HRESULT
Returns S_OK. The function returns a failure code only if an unexpected internal exception occurs.
Remarks
HCSettingsSetTraceLevel sets the verbosity of the libHttpClient HTTPCLIENT and WEBSOCKET trace areas. The default verbosity of both areas is HCTraceLevel::Information. The function doesn't change trace areas that other libraries define, such as XSAPI.
The trace level controls which messages libHttpClient produces. To send the messages somewhere, call HCTraceSetTraceToDebugger, HCTraceSetClientCallback, or HCTraceSetEtwEnabled. Debugger output is off by default.
Requirements
Header: trace.h
Library: libHttpClient.lib
Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles