tedious/Stash

Monolog logging

mikeevstropov opened this issue · 1 comments

Hi! Who can show some example to use logging? Thank you!

$pool = new Stash\Pool(new Stash\Driver\FileSystem(['path' => '../cache']));
$logger = new Monolog\Logger('name');
$pool->setLogger($logger);