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-27Lines changed: 1 addition & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,33 +21,7 @@ Or add dependency to `composer.json` file:
21
21
"stackify/monolog": "~1.0",
22
22
```
23
23
24
-
If you use [MonologBundle](https://github.com/symfony/MonologBundle) it is best to configure the Stackify handler using the Symfony Dependency Injection configuration files:
To get more error details pass Exception objects to the logger if available:
43
-
```php
44
-
try {
45
-
$db->connect();
46
-
catch (DbException $ex) {
47
-
// you may use any key name
48
-
$logger->addError('DB is not available', ['ex' => $ex]);
49
-
}
50
-
```
24
+
If you use [MonologBundle](https://github.com/symfony/MonologBundle) it is best to configure the Stackify handler using the Symfony Dependency Injection configuration files. See examples below.
51
25
52
26
There are three different transport options that can be configured to send data to Stackify. Below will show how to implement the different transport options.
0 commit comments