tree: a0a66cc0ee0669a33fabd0887c3cceb3cae376f2 [path history] [tgz]
  1. src/
  2. BUILD.gn
  3. METADATA.textproto
  4. OWNERS
  5. 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.