TrackRecordPro API Documentation TrackRecordPro

setLogger()

Summary

Method Name

setLogger

Minimum Supported API Version3.0

setLogger

setLogger(LoggerInterface $log)

Details

Attaches a PSR-3 compliant logger to the debug output of the client library. If enabled, debug messages are output using the debug log facility.

 

We recommend installing monolog via composer to handle logging, which implements a compatible interface.

Parameters

$logAn object instance implementing the LoggerInterface interface

Return value

No value is returned.