Skip to content

Commit 1766149

Browse files
authored
Merge pull request #1429 from dolmen/fix-godoc.org
README: fix godoc.org -> pkg.go.dev
2 parents e57c100 + a5814b0 commit 1766149

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ocean","size":10,"time":"2014-03-10 19:57:38.562264131 -0400 EDT"}
6262

6363
With the default `log.SetFormatter(&log.TextFormatter{})` when a TTY is not
6464
attached, the output is compatible with the
65-
[logfmt](http://godoc.org/github.com/kr/logfmt) format:
65+
[logfmt](https://pkg.go.dev/github.com/kr/logfmt) format:
6666

6767
```text
6868
time="2015-03-26T01:27:38-04:00" level=debug msg="Started observing beach" animal=walrus number=8
@@ -372,9 +372,9 @@ The built-in logging formatters are:
372372
* When colors are enabled, levels are truncated to 4 characters by default. To disable
373373
truncation set the `DisableLevelTruncation` field to `true`.
374374
* When outputting to a TTY, it's often helpful to visually scan down a column where all the levels are the same width. Setting the `PadLevelText` field to `true` enables this behavior, by adding padding to the level text.
375-
* All options are listed in the [generated docs](https://godoc.org/github.com/sirupsen/logrus#TextFormatter).
375+
* All options are listed in the [generated docs](https://pkg.go.dev/github.com/sirupsen/logrus#TextFormatter).
376376
* `logrus.JSONFormatter`. Logs fields as JSON.
377-
* All options are listed in the [generated docs](https://godoc.org/github.com/sirupsen/logrus#JSONFormatter).
377+
* All options are listed in the [generated docs](https://pkg.go.dev/github.com/sirupsen/logrus#JSONFormatter).
378378

379379
Third party logging formatters:
380380

0 commit comments

Comments
 (0)