Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'log_interface' of https://github.com/sasezaki/zf2
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDotPro committed May 26, 2012
2 parents 6f4b805 + 38cf485 commit dcc1eaf
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 132 deletions.
89 changes: 0 additions & 89 deletions src/LoggableInterface.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Logger implements LoggableInterface, Pluggable
class Logger implements LoggerInterface, Pluggable
{
/**
* @const int defined from the BSD Syslog message severities
Expand Down
39 changes: 0 additions & 39 deletions src/LoggerAware.php

This file was deleted.

4 changes: 2 additions & 2 deletions src/LoggerAwareInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
namespace Zend\Log;

use Zend\Log\Logger;
use Zend\Log\LoggerInterface;

/**
* Logger aware interface
Expand All @@ -35,5 +35,5 @@
*/
interface LoggerAwareInterface
{
public function setLogger(Logger $logger);
public function setLogger(LoggerInterface $logger);
}
2 changes: 1 addition & 1 deletion src/Loggable.php → src/LoggerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Loggable
interface LoggerInterface
{
/**
* @param string $message
Expand Down

0 comments on commit dcc1eaf

Please sign in to comment.