#Mobile App Debugging

1 messages · Page 1 of 1 (latest)

fiery edge
#

Hello, is it possible to have the Laravel's Log::info functionality when developing for mobile app?

marble badge
#

The logs from within the app on the device? While debugging you can adb shell into the device and run-as your app name and go to app_storage and find the logs

#

We should make that easier though

neat willow
#

Hello, I'm the same person from a different account and after cd-ing to the logs location there is no log file. Is it possible that it is being deleted somehow by the NativePHP package? Attaching a screenshot of ls in the file location.

marble badge
#

check in the persisted data

neat willow
#

Oh yeah, I've checked and found it there. Thanks for the help! For anyone trying to view the log, after finding the directory you can run
tail -f laravel.log

Also, to browse the data you need adb to be run in root mode
adb root
and then
adb shell [your device name/nothing if there is only one device present]