Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 297 Bytes

setup-log-handler.md

File metadata and controls

11 lines (8 loc) · 297 Bytes

Setup Log Handler

You can add a PSR Log compatible to the constructor in order to get Log of the operations.

Example

<?php
$logger = new \Monolog\Handler\StreamHandler('php://stderr', \Monolog\Logger::DEBUG);
$cache = new \ByJG\Cache\Psr16\FileSystemCacheEngine(null, $logger);