Chromium Code Reviews
DescriptionCut the spam in the sky log printouts.
This is a port of
https://github.com/domokit/mojo/commit/f61746083fee43866e7905d96fbb9becc8d6af64
.
This patch eliminates the tag "[0708/123945:INFO:builtin_natives.cc(86)]
CONSOLE" prefixing each message in sky log Android output by
implementing the Android logging directly, ie. without base LOG macros.
The log message is now written directly to stdout on Android as well as
on Linux and iOS, and is also written to android logcat tagged as
"chromium", which is the tag we use to pick up native LOG messages from
the logcat when running on unrooted device.
A user running `mojo_shell.py --sky` on a rooted device will now see:
hello
instead of
[0715/174636:INFO:builtin_natives.cc(86)] CONSOLE: hello
A user running `mojo_shell.py --sky` on unrooted device will now see:
I/chromium(29585): hello
instead of
I/chromium(26587): [0715/174636:INFO:builtin_natives.cc(86)] CONSOLE: hello
Fixes #317.
R=abarth@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/f409a9cc36b48da1853b1074b30be8e526d11cd3
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address Adam's comments. #Messages
Total messages: 6 (2 generated)
|