Are there any best practices or recommendations for using array('trace'=>1) in PHP SoapClient?

When using array('trace'=>1) in PHP SoapClient, it enables tracing of request and response messages. This can be helpful for debugging and troubleshooting SOAP requests. To use this feature effectively, it is recommended to enable tracing only when needed, as it can impact performance due to the additional overhead of capturing and storing the messages.

$options = array(
    'trace' => 1,
    // other options
);

$client = new SoapClient('http://example.com/soap.wsdl', $options);