-
Notifications
You must be signed in to change notification settings - Fork 0
Logging
Joseph Szobody edited this page Mar 28, 2016
·
2 revisions
Get all SDK activity logged simply by providing a PSR-3 logger class.
The circuit logger config should use the logger
key in the master description array.
Example:
// Master description array
[
...
'logger' => \Path\To\LoggerClass::class
]
The logger class will be resolved using the Laravel container, which means you can easily point to the pre-built Laravel logger instance by specifying the PSR-3 LoggerInterface:
'logger' => \Psr\Log\LoggerInterface::class