Google is committed to advancing racial equity for Black communities. See how.

fx klog

listen for kernel logs

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

   --experimental          use the experimental C++ symbolizer

   --legacy                use the legacy Go symbolizer

   --raw                   do not attempt to symbolize the log

   --remote-symbols|-r     attemp 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