phpci/loggerconfig.php.example

16 lines
487 B
Plaintext
Raw Normal View History

<?php
2014-03-20 16:33:25 +01:00
return array(
/** Loggers attached to every command */
"_" => function() {
return array(
2014-03-20 16:33:25 +01:00
new \Monolog\Handler\StreamHandler(__DIR__ . DIRECTORY_SEPARATOR . 'errors.log', \Monolog\Logger::ERROR),
);
},
/** Loggers for the RunCommand */
'RunCommand' => function() {
return array(
2014-03-20 16:33:25 +01:00
new \Monolog\Handler\RotatingFileHandler(__DIR__ . DIRECTORY_SEPARATOR . 'everything',3, \Monolog\Logger::DEBUG),
);
2014-03-20 16:33:25 +01:00
},
);