Skip to content

Commit 347af7d

Browse files
committed
Update README.md
1 parent 3777ea8 commit 347af7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use Stackify\Log\Monolog\Handler as StackifyHandler;
2828
$handler = new StackifyHandler('application_name');
2929
$logger = new Logger('log_channel');
3030
$logger->pushHandler($handler);
31-
$logger->warning('something happened');
31+
$logger->addWarning('something happened');
3232
```
3333

3434
If you use [MonologBundle](https://github.com/symfony/MonologBundle) it is best to configure the Stackify handler using the Symfony DependencyInjection configuration files:

0 commit comments

Comments
 (0)