1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-07 21:56:31 +02:00

Merge pull request #776 from jaschweder/patch-1

update README
This commit is contained in:
Jordi Boggiano
2016-04-25 12:36:02 +01:00

View File

@@ -37,8 +37,8 @@ $log = new Logger('name');
$log->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING)); $log->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING));
// add records to the log // add records to the log
$log->addWarning('Foo'); $log->warning('Foo');
$log->addError('Bar'); $log->error('Bar');
``` ```
## Documentation ## Documentation