Skip to content

Commit e1b64f8

Browse files
committed
typo fix
1 parent d08e1e3 commit e1b64f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

log/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This implements [zap](https://pkg.go.dev/go.uber.org/zap)-based meta logger with
55
### Usage
66

77
```Go
8-
import "github.com/workato/engine-packages/log"
8+
import "github.com/bhmj/goblocks/log"
99

1010
logLevel := "info"
1111
oneLiner := false
@@ -61,7 +61,7 @@ Note that the whole log record has "warn" type as it is the highest level of all
6161

6262
When merging multiple log records into a single one we need to set a message (`msg` field) for the whole record. Naturally you want it to be the most informative among all records, for example it may be the type of the endpoint currently working or something similar. If nothing is specified explicitly the **first message** of the highest level is used.
6363

64-
However, since we can switch oneliner mode on and off, we may want to explicitly mark the main message which should be selected amonth other messages of the same level. You may do it using `MainMessage()` method:
64+
However, since we can switch oneliner mode on and off, we may want to explicitly mark the main message which should be selected among other messages of the same level. You may do it using `MainMessage()` method:
6565

6666
```Go
6767
logger.Info("start request", log.String("connections", conns))

0 commit comments

Comments
 (0)