HCSettingsGetTraceLevel

Gets the trace level for the library.

Syntax

HRESULT HCSettingsGetTraceLevel(  
         HCTraceLevel* traceLevel  
)  

Parameters

traceLevel   _Out_
Type: HCTraceLevel*

Trace level.

Return value

Type: HRESULT

Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL. Returns E_INVALIDARG if traceLevel is nullptr.

Remarks

HCSettingsGetTraceLevel reports the verbosity of the libHttpClient HTTPCLIENT trace area. To set the verbosity, call HCSettingsSetTraceLevel.

Requirements

Header: trace.h

Library: libHttpClient.lib

Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

trace