The Trace property is used to enable or disable the logging
of network function calls. When enabled, each function call
is logged to a file, including the function parameters, return value
and error code if applicable. This facility can be enabled and
disabled at run time, and the trace log file can be specified by
setting the TraceFile property. All function calls that are
being logged are appended to the trace file, if it exists. If no
log file exists when tracing is enabled, the file is
created.
If logging is not enabled, there is no negative impact on performance
or throughput. Once enabled, application performance can degrade,
especially in those situations in which there is a large amount of
data being exchanged. The log file can contain detailed information
about connection attempts and authentication requests, potentially
exposing user credentials, authorization tokens and API keys. If you
enable logging in a production release of your application, this
information can also potentially reveal file structures, API endpoints
and data specific to your application. Exercise caution when preserving
or sharing the contents of the file.