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
6. If you are using Laravel 5.0 (`>= 5.0, < 5.1`) version, please read about - [how to report Laravel 5.0 exceptions](#how-to-report-laravel-50--50--51-exceptions).
44
+
- We recommend that you make use of a async handler - [How to send data asynchronously](#how-to-send-data-asynchronously)
45
+
- If you are using Laravel 5.0 (`>= 5.0, < 5.1`) version, please read about - [How to report Laravel 5.0 exceptions](#how-to-report-laravel-50--50--51-exceptions).
46
+
- For advanced configuration please read about - [Advanced configuration](#advanced-configuration)
47
+
51
48
52
49
### How to send events/logs
53
50
@@ -181,16 +178,14 @@ This additional meta data will then be automatically appended to all of your Lar
181
178
### How to send data asynchronously
182
179
183
180
##### Async handler
184
-
By default each log event will be sent to Understand.io's api server directly after the event happens. If you generate a large number of logs, this could slow your app down and, in these scenarios, we recommend that you make use of a async handler. To do this, change the config parameter `handler` to `async`.
181
+
By default each log event will be sent to Understand.io's api server directly after the event happens. If you generate a large number of logs, this could slow your app down and, in these scenarios, we recommend that you make use of a async handler. To do this, set the config parameter `UNDERSTAND_HANDLER` to `async` in your `.env` file.
185
182
186
183
```php
187
-
/**
188
-
* Specify which handler to use - sync, queue or async.
189
-
*
190
-
* Note that the async handler will only work in systems where
191
-
* the CURL command line tool is installed
192
-
*/
193
-
'handler' => 'async',
184
+
# Specify which handler to use - sync, queue or async.
185
+
#
186
+
# Note that the async handler will only work in systems where
187
+
# the CURL command line tool is installed
188
+
UNDERSTAND_HANDLER=async
194
189
```
195
190
196
191
The async handler is supported in most of the systems - the only requirement is that CURL command line tool is installed and functioning correctly. To check whether CURL is available on your system, execute following command in your console:
0 commit comments