Skip to content

Commit 3d21631

Browse files
committed
log: fix typos in comments (ethereum#21118)
1 parent cd9e189 commit 3d21631

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

log/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ This will output a log line that includes the path context that is attached to t
6565
6666
Handlers
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
6969
single interface that is inspired by net/http's handler interface:
7070
7171
type Handler interface {

log/format.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
//

log/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)