STEP 1 - GETTING LOGCAT
- Create a task and call it Email Error Log
- Add an AutoTools LogCat action to it
- Set the Level to Error
- Accept the action and go back to Tasker
STEP 2 - SHOW FIRST LOG LINE AND MERGE ARRAYS
- Add a Flash action with the text %atlogtime(1) %atlogtag(1) %atlog(1) so that you can check if the first line was gotten up correctly
- Add an AutoTools Arrays action
- Set the Input Arrays to %atlogtime()|%atlogtag()|%atlog()
- Enable the Merge Arrays option
- Set the Merged Array Name to %atlogs
- Set the Merge Format to " - " (no quotes)
- Set the Join Merged Arrays option to a single new line character
- Accept and go back to Tasker
STEP 3 - SEND EMAIL WITH LOG
- Add an AutoShare action
- If needed import the Send Email intent
- Choose the App Email
- Choose the Action Send Email
- Set the To field to support@joaoapps.com
- Set the Subject to Error Log
- Set the Text to %atlogs (not %atlog like in the video, sorry about that)
- Accept and go back to Tasker
STEP 4 - TEST
- Run the task and you'll see that an email is pre-filled with the logcat. all you have to do is press send.
![](data/resource_icons/0/172.jpg?1475510049)
Send error logcat via email
Learn how to send your system logcat easily via email