What is the semantics of the return value of Android logging functions (e.g. Log.v ())?

Android logging functions return int . The documentation says nothing about them. What does the return value mean?

When I try in my simple application, I get 18 for the following call to Log.v :

 android.util.Log.v("MyApp", "my message"); 
+7
source share
1 answer

This is the number of bytes written from the underlying println .

+6
source

All Articles