From d8787af86c754a82be345e40365ae76436aa8c2c Mon Sep 17 00:00:00 2001 From: Griffin Abner Date: Thu, 16 Jun 2022 15:49:56 +0800 Subject: [PATCH] Use text when shows the logrus output --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b042c89..69c544d 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ plain text): With `log.SetFormatter(&log.JSONFormatter{})`, for easy parsing by logstash or Splunk: -```json +```text {"animal":"walrus","level":"info","msg":"A group of walrus emerges from the ocean","size":10,"time":"2014-03-10 19:57:38.562264131 -0400 EDT"}