__android_log_print printing with out '/n' newline CR
WHen in native code __android_log_print()
is used it prints adds an /n
at the end of the text.
I am trying to get the same behavior as printf
, where when /n
not used it prints the next sting on the same line.
I need to write a data dump so I need to be able to to structure the data. Now, I know I can store things in a temp buffer but I don't want to do that.
As I am working on an embedded device with an extremely small runt开发者_开发技巧ime memory.
You should consider whether the __android_log_print()
function is appropriate to use for dumping data. It's conventional for logging functions that they output whole lines for each call.
精彩评论