Navigation Menu

Skip to content

Commit

Permalink
moved Logger interfaces to a HttpKernel Log sub-namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Aug 17, 2010
1 parent 5ea4b34 commit 955fd40
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/DoctrineBundle/Logger/DbalLogger.php
Expand Up @@ -2,7 +2,7 @@

namespace Symfony\Bundle\DoctrineBundle\Logger;

use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;
use Doctrine\DBAL\Logging\DebugStack;

/*
Expand Down
Expand Up @@ -3,7 +3,7 @@
namespace Symfony\Bundle\FrameworkBundle\Controller;

use Symfony\Framework\Kernel;
use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

/*
* This file is part of the Symfony framework.
Expand Down
Expand Up @@ -2,7 +2,7 @@

namespace Symfony\Bundle\FrameworkBundle\Controller;

use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;
use Symfony\Components\HttpKernel\Controller\ControllerResolver as BaseControllerResolver;
use Symfony\Components\HttpKernel\HttpKernelInterface;
use Symfony\Components\HttpFoundation\Request;
Expand Down
Expand Up @@ -5,7 +5,7 @@
use Symfony\Components\DependencyInjection\ContainerInterface;
use Symfony\Components\EventDispatcher\EventDispatcher;
use Symfony\Components\EventDispatcher\Event;
use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;
use Symfony\Components\HttpKernel\HttpKernelInterface;

/*
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/Profiler.php
Expand Up @@ -5,7 +5,7 @@
use Symfony\Components\DependencyInjection\ContainerInterface;
use Symfony\Components\HttpKernel\Profiler\Profiler as BaseProfiler;
use Symfony\Components\HttpKernel\Profiler\ProfilerStorage;
use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

/*
* This file is part of the Symfony framework.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/RequestListener.php
Expand Up @@ -2,7 +2,7 @@

namespace Symfony\Bundle\FrameworkBundle;

use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;
use Symfony\Components\EventDispatcher\EventDispatcher;
use Symfony\Components\EventDispatcher\Event;
use Symfony\Components\Routing\RouterInterface;
Expand Down
Expand Up @@ -5,7 +5,7 @@
use Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter;
use Symfony\Components\Routing\Loader\DelegatingLoader as BaseDelegatingLoader;
use Symfony\Components\Routing\Loader\LoaderResolverInterface;
use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

/*
* This file is part of the Symfony framework.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/Templating/Debugger.php
Expand Up @@ -3,7 +3,7 @@
namespace Symfony\Bundle\FrameworkBundle\Templating;

use Symfony\Components\Templating\DebuggerInterface;
use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

/*
* This file is part of the Symfony package.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/Tests/Logger.php
Expand Up @@ -11,7 +11,7 @@

namespace Symfony\Bundle\FrameworkBundle\Tests;

use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

class Logger implements LoggerInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/PropelBundle/Logger/PropelLogger.php
Expand Up @@ -2,7 +2,7 @@

namespace Symfony\Bundle\PropelBundle\Logger;

use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

/*
* This file is part of the Symfony framework.
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Bundle/ZendBundle/Logger/DebugLogger.php
Expand Up @@ -3,6 +3,7 @@
namespace Symfony\Bundle\ZendBundle\Logger;

use Zend\Log\Writer\AbstractWriter;
use Symfony\Components\HttpKernel\Log\DebugLoggerInterface;

/*
* This file is part of the Symfony framework.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/ZendBundle/Logger/Logger.php
Expand Up @@ -3,7 +3,7 @@
namespace Symfony\Bundle\ZendBundle\Logger;

use Zend\Log\Logger as BaseLogger;
use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

/*
* This file is part of the Symfony framework.
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Bundle/ZendBundle/Resources/config/logger.xml
Expand Up @@ -37,5 +37,7 @@
<service id="zend.logger.filter" class="Zend\Log\Filter\Priority">
<argument>%zend.logger.priority%</argument>
</service>

<service id="logger.debug" alias="zend.logger.writer.debug" />
</services>
</container>
Expand Up @@ -2,7 +2,7 @@

namespace Symfony\Components\HttpKernel\Controller;

use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;
use Symfony\Components\HttpFoundation\Request;

/*
Expand Down
@@ -1,6 +1,6 @@
<?php

namespace Symfony\Bundle\ZendBundle\Logger;
namespace Symfony\Components\HttpKernel\Log;

/*
* This file is part of the Symfony framework.
Expand Down
@@ -1,6 +1,6 @@
<?php

namespace Symfony\Components\HttpKernel;
namespace Symfony\Components\HttpKernel\Log;

/*
* This file is part of the Symfony framework.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Components/HttpKernel/Profiler/Profiler.php
Expand Up @@ -5,7 +5,7 @@
use Symfony\Components\HttpFoundation\Response;
use Symfony\Components\HttpKernel\Profiler\ProfilerStorage;
use Symfony\Components\HttpKernel\Profiler\DataCollector\DataCollectorInterface;
use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

/*
* This file is part of the Symfony framework.
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Framework/Debug/EventDispatcher.php
Expand Up @@ -5,7 +5,7 @@
use Symfony\Framework\EventDispatcher as BaseEventDispatcher;
use Symfony\Components\EventDispatcher\EventDispatcherInterface;
use Symfony\Components\EventDispatcher\Event;
use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;
use Symfony\Components\DependencyInjection\ContainerInterface;

/*
Expand Down
2 changes: 1 addition & 1 deletion tests/Symfony/Tests/Components/HttpKernel/Logger.php
Expand Up @@ -11,7 +11,7 @@

namespace Symfony\Tests\Components\HttpKernel;

use Symfony\Components\HttpKernel\LoggerInterface;
use Symfony\Components\HttpKernel\Log\LoggerInterface;

class Logger implements LoggerInterface
{
Expand Down

0 comments on commit 955fd40

Please sign in to comment.