fx klog

listen for kernel logs

usage: fx klog [--raw] [-r | --remote-symbols]

   --raw                   do not attempt to symbolize the log

   --remote-symbols|-r     attempt to resolve symbols using predefined remote
                           symbol servers for symbols that cannot be resolved
                           locally. See `fx help symbolize` for more
                           information on remote symbol servers.

This command delegates to the Zircon `loglistener` binary.
It will listen to the device specified with `fx -d DEVICE klog` or
`fx set-device`, otherwise one of the devices on the link-local network.

klog source code