Skip to content

libcURL.SetTraceOptions

Andrew Lambert edited this page Sep 14, 2023 · 2 revisions

libcURL.SetTraceOptions

Method Signature

 Protected Sub SetTraceOptions(TraceOptions As String)

Parameters

Name Type Comment
TraceOptions String The option string to use.

Remarks

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.

Syntax example

This example enables extra logging from all components except TCP:

  libcURL.SetTraceOptions("all,-tcp")

See also

Clone this wiki locally