You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ use Stackify\Log\Monolog\Handler as StackifyHandler;
28
28
$handler = new StackifyHandler('application_name');
29
29
$logger = new Logger('log_channel');
30
30
$logger->pushHandler($handler);
31
-
$logger->warning('something happened');
31
+
$logger->addWarning('something happened');
32
32
```
33
33
34
34
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