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 - My toy project

In a project, the code work is limited When I say, "I think it will work if I change it like this," I get, "If it doesn't...