commit | 3cf24f389d4acfc7aa03e876c7d75ee5451afd31 | [log] [tgz] |
---|---|---|
author | Andrew Davies <awdavies@google.com> | Thu Mar 13 00:05:51 2025 -0700 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 13 00:05:51 2025 -0700 |
tree | ca82d4d7f04514d0af358493d495119c095a6cec | |
parent | cba68a1111fb3529f3148176f83cea428d90d528 [diff] |
[ffx][log] Add json schema support. This adds json schema support for the logging command. It is done by converting the main output from a `LogEntry` to a command-used `CommandOutput` struct. The log entry is converted into this output for simplicity's sake. The alternatives proved to be quite cumbersome (see comments in the change). Bug: 392657374 Change-Id: Idc38495247034dacf431ba200e769e6cd07e851b Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1222014 Reviewed-by: Miguel Flores <miguelfrde@google.com> Reviewed-by: Clayton Wilkinson <wilkinsonclay@google.com> Commit-Queue: Andrew Davies <awdavies@google.com> Reviewed-by: Adam Perry <adamperry@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.