1
0
Fork 0

corrected namespace for Logger::WARNING

pull/483/head
Tony Lemke 2012-03-21 11:37:38 +01:00
parent ea2d46bcff
commit 108c921fde
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ means that we can just start using classes from it, and they will be
autoloaded.
$log = new Monolog\Logger('name');
$log->pushHandler(new Monolog\Handler\StreamHandler('app.log', Logger::WARNING));
$log->pushHandler(new Monolog\Handler\StreamHandler('app.log', Monolog\Logger::WARNING));
$log->addWarning('Foo');