Improve formatting of YogaNode.print() on Android
Improve formatting of YogaNode.print() on Android

Summary:
The Android logger adds newline automatically, which makes the log ugly on Android.
To avoid that, wrap the android logger, print to a memory buffer.  Call __android_log_write() when '\n' is detected.

Reviewed By: emilsjolander

Differential Revision: D5842889

fbshipit-source-id: 8ecc829dc43614934c47fd3a68317259e403325a

facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho