tree: 2d9aba6e119b7b7fda80174c7bcdf33a02bb6f2b [search]
  1. meta/
  2. src/
  3. BUILD.bazel
  4. BUILD.gn
  5. METADATA.textproto
  6. OWNERS
  7. 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.