From 75cc3dd51a36addf41a68ff6dba8089e1eae293b Mon Sep 17 00:00:00 2001 From: Alex Demidov Date: Fri, 20 Feb 2015 21:02:11 +0500 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4b1117a..0e39601 100644 --- a/README.md +++ b/README.md @@ -323,6 +323,10 @@ The built-in logging formatters are: * `logrus.JSONFormatter`. Logs fields as JSON. * `logrus.LogstashFormatter`. Logs fields as Logstash Events (http://logstash.net). + ```go + logrus.SetFormatter(&logrus.LogstashFormatter{Type: “application_name"}) + ``` + Third party logging formatters: * [`zalgo`](https://github.com/aybabtme/logzalgo): invoking the P͉̫o̳̼̊w̖͈̰͎e̬͔̭͂r͚̼̹̲ ̫͓͉̳͈ō̠͕͖̚f̝͍̠ ͕̲̞͖͑Z̖̫̤̫ͪa͉̬͈̗l͖͎g̳̥o̰̥̅!̣͔̲̻͊̄ ̙̘̦̹̦.