File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ This will output a log line that includes the path context that is attached to t
6565
6666Handlers
6767
68- The Handler interface defines where log lines are printed to and how they are formated . Handler is a
68+ The Handler interface defines where log lines are printed to and how they are formatted . Handler is a
6969single interface that is inspired by net/http's handler interface:
7070
7171 type Handler interface {
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ type TerminalStringer interface {
7878// a terminal with color-coded level output and terser human friendly timestamp.
7979// This format should only be used for interactive programs or while developing.
8080//
81- // [LEVEL] [TIME] MESAGE key=value key=value ...
81+ // [LEVEL] [TIME] MESSAGE key=value key=value ...
8282//
8383// Example:
8484//
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ func formatCall(format string, c stack.Call) string {
117117}
118118
119119// CallerStackHandler returns a Handler that adds a stack trace to the context
120- // with key "stack". The stack trace is formated as a space separated list of
120+ // with key "stack". The stack trace is formatted as a space separated list of
121121// call sites inside matching []'s. The most recent call site is listed first.
122122// Each call site is formatted according to format. See the documentation of
123123// package github.com/go-stack/stack for the list of supported formats.
You can’t perform that action at this time.
0 commit comments