From 779e0e214dc0fc997813a204b40d4b9d0cb88b26 Mon Sep 17 00:00:00 2001 From: nolleh Date: Tue, 21 Jan 2020 00:42:07 +0900 Subject: [PATCH] add caption-json-formatter --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b475e4a..948a9b9 100644 --- a/README.md +++ b/README.md @@ -363,6 +363,7 @@ Third party logging formatters: * [`zalgo`](https://github.com/aybabtme/logzalgo). Invoking the P͉̫o̳̼̊w̖͈̰͎e̬͔̭͂r͚̼̹̲ ̫͓͉̳͈ō̠͕͖̚f̝͍̠ ͕̲̞͖͑Z̖̫̤̫ͪa͉̬͈̗l͖͎g̳̥o̰̥̅!̣͔̲̻͊̄ ̙̘̦̹̦. * [`nested-logrus-formatter`](https://github.com/antonfisher/nested-logrus-formatter). Converts logrus fields to a nested structure. * [`powerful-logrus-formatter`](https://github.com/zput/zxcTool). get fileName, log's line number and the latest function's name when print log; Sava log to files. +* [`caption-json-formatter`](https://github.com/nolleh/caption_json_formatter). logrus's message json formatter with human-readable caption added. You can define your formatter by implementing the `Formatter` interface, requiring a `Format` method. `Format` takes an `*Entry`. `entry.Data` is a