Skip to content

Commit

Permalink
Merge pull request go-kit#956 from HCoban/fix-typo-in-level-example-test
Browse files Browse the repository at this point in the history
Fix typo: "thte" -> "the"
  • Loading branch information
ChrisHines authored Feb 14, 2020
2 parents 7ea682b + b3ce387 commit 4f34beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log/level/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (

func Example_basic() {
logger := log.NewLogfmtLogger(os.Stdout)
level.Debug(logger).Log("msg", "this message is at thte debug level")
level.Debug(logger).Log("msg", "this message is at the debug level")
level.Info(logger).Log("msg", "this message is at the info level")
level.Warn(logger).Log("msg", "this message is at the warn level")
level.Error(logger).Log("msg", "this message is at the error level")

// Output:
// level=debug msg="this message is at thte debug level"
// level=debug msg="this message is at the debug level"
// level=info msg="this message is at the info level"
// level=warn msg="this message is at the warn level"
// level=error msg="this message is at the error level"
Expand Down

0 comments on commit 4f34beb

Please sign in to comment.