-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.SetTraceOptions
Andrew Lambert edited this page Sep 14, 2023
·
2 revisions
libcURL.SetTraceOptions
Protected Sub SetTraceOptions(TraceOptions As String)
Name | Type | Comment |
---|---|---|
TraceOptions | String | The option string to use. |
This method is only available in libcURL 8.3.0 or newer.
The TraceOptions
parameter is a comma-delimited list of component names. Names are case-insensitive and unrecognized names are ignored. The special name "all"
applies to all components. Names may be prefixed with +
or -
to enable or disable detailed logging for a component.
Trace options apply only to transfers where debug logging is enabled.
This example enables extra logging from all components except TCP:
libcURL.SetTraceOptions("all,-tcp")
- EasyHandle.Verbose
- EasyHandle.DebugMessage
- cURLSession.DebugMessage
- curl_global_trace in the libcurl documentation
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.