Promote Android logging to a class which knows about chunking.

Remove the concept of chunking from calling code. This is an Android-specific implementation detail which is now only performed when needed.