1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Replacing the outdated add* methods in the docs with the PSR-3 compliant methods.

This commit is contained in:
StevenW
2017-01-07 13:27:27 -08:00
parent efb3fa354c
commit 2544676a41
5 changed files with 7 additions and 7 deletions

View File

@@ -66,7 +66,7 @@ You can now use this handler in your logger:
$logger->pushHandler(new PDOHandler(new PDO('sqlite:logs.sqlite')));
// You can now use your logger
$logger->addInfo('My logger is now ready');
$logger->info('My logger is now ready');
```
The `Monolog\Handler\AbstractProcessingHandler` class provides most of the