summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-03-05 12:04:28 -0800
committerFrédéric Guillot <fred@kanboard.net>2018-03-05 12:04:28 -0800
commit299198f7181fccf1e9a684649d173a1ebbdfbd1e (patch)
treec2539efcfae3b193603bbff22dde8b84fd7f9981 /app/ServiceProvider
parenta991758e98fc614d35ec67ec904c78fa0ff6feeb (diff)
Move SimpleLogger lib into app source tree
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/LoggingProvider.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/ServiceProvider/LoggingProvider.php b/app/ServiceProvider/LoggingProvider.php
index cb6d0baa..eba9d0c4 100644
--- a/app/ServiceProvider/LoggingProvider.php
+++ b/app/ServiceProvider/LoggingProvider.php
@@ -5,11 +5,11 @@ namespace Kanboard\ServiceProvider;
use Psr\Log\LogLevel;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
-use SimpleLogger\Logger;
-use SimpleLogger\Stderr;
-use SimpleLogger\Stdout;
-use SimpleLogger\Syslog;
-use SimpleLogger\File;
+use Kanboard\Core\Log\Logger;
+use Kanboard\Core\Log\Stderr;
+use Kanboard\Core\Log\Stdout;
+use Kanboard\Core\Log\Syslog;
+use Kanboard\Core\Log\File;
/**
* Class LoggingProvider
@@ -21,7 +21,7 @@ class LoggingProvider implements ServiceProviderInterface
{
public function register(Container $container)
{
- $logger = new Logger;
+ $logger = new Logger();
$driver = null;
switch (LOG_DRIVER) {