Android Question Log commands in released Apps

PenguinHero

Member
Licensed User
Longtime User
Hi All,

This is just a curiosity question.

If I leave Log commands in released apps, what happens to the log output?
Is it just ignored because its not running in debug mode (and not connected to B4A)? Or does it write the info to a file on the device? Or something else?


Thanks,
PenguinHero.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The logs are part of the OS. Android uses a circular buffer to store the logs.

Starting from Android 4.1 an app cannot read the logs of another app. The only way to see the logs is with USB debugging.

When you run your app in debug mode with B4A-Bridge the app sends the logs to B4A-Bridge app (which then sends it to the IDE).
 
Upvote 0
Top