Merge pull request #9621 from owncloud/fix_logger_implementation

fix logger implementation
This commit is contained in:
Thomas Müller 2014-07-15 16:05:15 +02:00
commit 6c93bcc814
2 changed files with 2 additions and 2 deletions

View File

@ -154,6 +154,6 @@ class Log implements ILogger {
$message = strtr($message, $replace);
$logger = $this->logger;
$logger::write($app, $message, $level);
call_user_func(array($logger, 'write'), $app, $message, $level);
}
}

View File

@ -19,7 +19,7 @@ class Logger extends \PHPUnit_Framework_TestCase {
public function setUp() {
self::$logs = array();
$this->logger = new Log($this);
$this->logger = new Log('Test\Logger');
}
public function testInterpolation() {