mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 22:26:41 +02:00
Replacing the outdated add* methods in the docs with the PSR-3 compliant methods.
This commit is contained in:
@@ -29,7 +29,7 @@ $handler->setPersistent(true);
|
||||
$logger->pushHandler($handler, Logger::DEBUG);
|
||||
|
||||
// You can now use your logger
|
||||
$logger->addInfo('My logger is now ready');
|
||||
$logger->info('My logger is now ready');
|
||||
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user