diff options
author | kiel barry <kiel.j.barry@gmail.com> | 2018-05-22 15:28:43 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-22 15:28:43 +0800 |
commit | 09d44247f746b177e46754ba56ad7e9bc0bd8ef6 (patch) | |
tree | 99c3021187891fc45e098410ca5cdec8a046cd32 /log/README.md | |
parent | 0fe47e98c4d93f952dc7415f401fd03b2664a21d (diff) | |
download | dexon-09d44247f746b177e46754ba56ad7e9bc0bd8ef6.tar dexon-09d44247f746b177e46754ba56ad7e9bc0bd8ef6.tar.gz dexon-09d44247f746b177e46754ba56ad7e9bc0bd8ef6.tar.bz2 dexon-09d44247f746b177e46754ba56ad7e9bc0bd8ef6.tar.lz dexon-09d44247f746b177e46754ba56ad7e9bc0bd8ef6.tar.xz dexon-09d44247f746b177e46754ba56ad7e9bc0bd8ef6.tar.zst dexon-09d44247f746b177e46754ba56ad7e9bc0bd8ef6.zip |
log: fixes for golint warnings (#16775)
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: |