Print logcat with adb command

 How to add logcat log via "log" command

$ log --help
usage: log [-p PRI] [-t TAG] MESSAGE...

Logs message to logcat.

-p	Use the given priority instead of INFO:
	d: DEBUG  e: ERROR  f: FATAL  i: INFO  v: VERBOSE  w: WARN  s: SILENT
-t	Use the given tag instead of "log"




No comments:

Lognote - Log viewer, Android logcat viewer for Windows, Linux, Mac

android logcat viewer for Windows, Linux, Mac   https://github.com/cdcsgit/lognote Filtered log viewer Android logcat viewer, kotlin ...