From 17da5b66ea4586440f302e8a29b52fb417304876 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Sat, 9 Mar 2024 16:27:32 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20formatter=20info=20to=20RE?= =?UTF-8?q?ADME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15d8a20..24eae91 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,15 @@ Each separate output has its own set of configuration. So, replace `which-one` w *This section may change in the near future. We're considering supporting multiple formats.* -- `json`: Outputs as JSON +- `formatter`: Which formatter to use when outputting data. This value is used by `my-log drop` to output the new entry. + +### `[formatters]` + +Some formatters may have custom configuration. + +#### `[formatters.json]` + +- `pretty_print`: If true, JSON output will be pretty printed. If false, it will be printed to a single line. ## Roadmap