fx klog

listen for kernel logs

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

   --raw                   do not attempt to symbolize the log

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