From 90915c932628aa7dcf3d926b4370c72b23bcdbb6 Mon Sep 17 00:00:00 2001 From: Daniel Taylor Date: Tue, 29 Nov 2016 10:52:28 -0800 Subject: [PATCH] Fix typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f9cfb0a..ed1b140 100644 --- a/README.md +++ b/README.md @@ -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.