tree: 534b5a3f0f72fe610b6b1ad841438c69932792ed [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.