diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-27 19:10:38 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-27 19:10:38 -0500 |
commit | 17dc5bdc9ede52ad618bbf326e67e3b6988170f7 (patch) | |
tree | 9cf4d325667f11fa735bca84042fb385e3273329 /app/ServiceProvider/Logging.php | |
parent | cf821e117ce8b937cff7f386a107aaa81ba6bf9b (diff) |
Move events handling to Symfony\EventDispatcher
Diffstat (limited to 'app/ServiceProvider/Logging.php')
-rw-r--r-- | app/ServiceProvider/Logging.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/app/ServiceProvider/Logging.php b/app/ServiceProvider/Logging.php deleted file mode 100644 index 9737cadc..00000000 --- a/app/ServiceProvider/Logging.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -namespace ServiceProvider; - -use Pimple\Container; -use Pimple\ServiceProviderInterface; -use Monolog\Logger; -use Monolog\Handler\StreamHandler; -use Monolog\Handler\SyslogHandler; - -class Logging implements ServiceProviderInterface -{ - public function register(Container $container) - { - $logger = new Logger('app'); - $logger->pushHandler(new StreamHandler(__DIR__.'/../../data/debug.log', Logger::DEBUG)); - $logger->pushHandler(new SyslogHandler('kanboard', LOG_USER, Logger::DEBUG)); - - $container['logger'] = $logger; - } -} |