From 9866bd0cea6719e3f171297a5016e3eeb8ffc131 Mon Sep 17 00:00:00 2001 From: Sean Santry Date: Sun, 20 Oct 2024 00:52:28 -0400 Subject: [PATCH] Add gem badge to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 979769c..bb68ae9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # JsonTaggedLogger [![Build Status](https://github.com/santry/json_tagged_logger/actions/workflows/ci.yml/badge.svg)](https://github.com/santry/json_tagged_logger/actions/workflows/ci.yml) +[![Gem Version](https://badge.fury.io/rb/json_tagged_logger.svg)](https://badge.fury.io/rb/json_tagged_logger) `JsonTaggedLogger` works in conjunction with [`ActiveSupport::TaggedLogging`](https://api.rubyonrails.org/classes/ActiveSupport/TaggedLogging.html) and (optionally) [Lograge](https://github.com/roidrage/lograge) to produce JSON-formatted log output. By itself, `ActiveSupport::TaggedLogging` supports simple tagging. With `JsonTaggedLogger`, you can compose key/value pairs, simple tags, and the log message itself into a single JSON document for easy consumption and parsing in log aggregators.