diff --git a/doc/01-basic-usage.md b/doc/01-basic-usage.md index e8037b7cd..161cd6499 100644 --- a/doc/01-basic-usage.md +++ b/doc/01-basic-usage.md @@ -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');