Open Bug 887971 Opened 9 years ago Updated 9 years ago
Reliable printf alternative for test debugging
Getting test output on mobile is very difficult because of logcat. We need some platform neutral logging API developers can use that will: 1) Show up to stdout. 2) Show up in the TBPL log. 3) Show in order logging, ideally between multiple threads 4) Must never lose logging (i.e. not pull adb logcat every 10 seconds) unless the log exceed some multi MB threshold. 5) Work for non debug builds. 6) Optional: Have a c++ string stream (testout << "Length: " << x << endl) implementation.
Opps wrong CC
Depends on bug 881389 because we shouldn't duplicate anything that is going to be done there.
Depends on: OneLogger
BenWa, what is the delta between the two bugs? Once bug 881389 is done, which particular items above are not covered, or incomplete?
(In reply to Milan Sreckovic [:milan] from comment #3) > BenWa, what is the delta between the two bugs? Once bug 881389 is done, > which particular items above are not covered, or incomplete? We're still missing have a way to output the logging in mobile. Once bug 881389 lands that output will still go to 'adb logcat' which is not in the test log. For this bug to be resolved we need to either include ALL logcat in the test log or find a way to forward this new logging to test output stream.
You need to log in before you can comment on or make changes to this bug.