Skip to content

Commit

Permalink
Merge pull request #449 from danielgtaylor-isp/patch-1
Browse files Browse the repository at this point in the history
Fix typo in README
  • Loading branch information
stevvooe authored Nov 30, 2016
2 parents e400ff7 + 90915c9 commit cf60a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ logrus.RegisterExitHandler(handler)
...
```

#### Thread safty
#### Thread safety

By default Logger is protected by mutex for concurrent writes, this mutex is invoked when calling hooks and writing logs.
If you are sure such locking is not needed, you can call logger.SetNoLock() to disable the locking.
Expand Down

0 comments on commit cf60a8c

Please sign in to comment.