diff options
Diffstat (limited to 'log/README.md')
-rw-r--r-- | log/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log/README.md b/log/README.md index 0951b21cb..b4476577b 100644 --- a/log/README.md +++ b/log/README.md @@ -45,7 +45,7 @@ srvlog.SetHandler(log.MultiHandler( log.StreamHandler(os.Stderr, log.LogfmtFormat()), log.LvlFilterHandler( log.LvlError, - log.Must.FileHandler("errors.json", log.JsonFormat())))) + log.Must.FileHandler("errors.json", log.JSONFormat())))) ``` Will result in output that looks like this: |