1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-20 20:01:52 +02:00

renamed log/warn/.. to addMessage/addWarning/..

This commit is contained in:
Jordi Boggiano
2011-02-18 00:36:08 +01:00
parent a30c1d6b71
commit 5411d236c1
3 changed files with 54 additions and 17 deletions

View File

@@ -26,7 +26,7 @@ class LogTest extends \PHPUnit_Framework_TestCase
->with('bob', Logger::WARN, 'test');
$logger->addWriter($writer1);
$logger->addWriter($writer2);
$logger->log(Logger::WARN, 'test');
$logger->addMessage(Logger::WARN, 'test');
}
public function testLogLowLevel()
@@ -39,6 +39,6 @@ class LogTest extends \PHPUnit_Framework_TestCase
$writer1->expects($this->never())
->method('write');
$logger->addWriter($writer1);
$logger->log(Logger::WARN, 'test');
$logger->addMessage(Logger::WARN, 'test');
}
}