Automatic logcat logs

Bugfender can automatically read logs from logcat, so you don't have to change anything in your application to start using Bugfender right away. It happens, however, that not only your logs will be fetched, also some system generated logs belonging to your application will appear.

When you initialize Bugfender, this log line enables this behavior:

Bugfender.enableLogcatLogging();

In order to disable it, just remove the above line, you can still log directly to Bugfender the same way you would use android.util.Log:

Bugfender.d("networking", "this is a debug message");
Bugfender.w("networking", "this is a warning message");
Bugfender.e("networking", "this is an error message");

If you have a logging library in your application, such as SLF4J, you can plug it to Bugfender. See our List of supported libraries.

Automatic UI logs 

The automated UI Event logger detects user interaction with the application, such as touches on buttons and gestures, and logs them. Also detects changes in screen (for example UIViewControllers in a UINavigationController) and logs them.

When you initialize Bugfender, this log line enables this behavior:

Bugfender.enableUIEventLogging(this);

In order to disable it, just remove the above line.

Did this answer your question?