tree: 13e8c38438728ff6dcd1637504854e49cd4d6e80
  1. meta/
  2. src/
  3. BUILD.gn
  4. METADATA.textproto
  5. OWNERS
  6. README.md
src/diagnostics/lib/log-command/README.md

log-command

log-command utility library for parsing log_listener and ffx log command line arguments.

Building

This project should be automatically included in builds.

Using

log-command is consumed from ffx log and log_listener.

Testing

unit tests for log-command are available in the log-command-test package:

$ fx test log-command-test

You'll need to include //src/diagnostics/lib/log-command:tests in your build, either by using fx args to put it under universe_package_labels, or by fx set [....] --with //src/diagnostics/lib/log-command:tests.