Does anybody knows a possibility to add a log entry into the logcat
main
log?
I need to inject an log line with custom text into this log on arbitrary devices.
The main problem is that I can't just install an own app that does inject the log entries. I need to create the log entry directly on adb.
log
commandline tool.log
universally available or do I have to expect device that don't support this command?log
is atoybox
applet, available since Android 8: android.googlesource.com/platform/external/toybox/+/…. For older releases you can port the binary. It's very minimalistic.