Associate this example with what it's an example for

This commit is contained in:
Edward Muller
2019-10-13 17:41:41 -07:00
parent 39a5ad1294
commit f9951ccddd
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/sirupsen/logrus"
)
func ExampleCustomFormatter() {
func ExampleJSONFormatter_CallerPrettyfier() {
l := logrus.New()
l.SetReportCaller(true)
l.Out = os.Stdout