From 346a9b3575dba4cc14bc93eeb7ec10e72a4f467f Mon Sep 17 00:00:00 2001 From: cuishuang Date: Thu, 10 Mar 2022 13:47:28 +0800 Subject: [PATCH] fix some typos Signed-off-by: cuishuang --- CHANGELOG.md | 4 ++-- entry_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7567f6128..098608ff4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,7 +37,7 @@ Features: # 1.6.0 Fixes: * end of line cleanup - * revert the entry concurrency bug fix whic leads to deadlock under some circumstances + * revert the entry concurrency bug fix which leads to deadlock under some circumstances * update dependency on go-windows-terminal-sequences to fix a crash with go 1.14 Features: @@ -129,7 +129,7 @@ This new release introduces: which is mostly useful for logger wrapper * a fix reverting the immutability of the entry given as parameter to the hooks a new configuration field of the json formatter in order to put all the fields - in a nested dictionnary + in a nested dictionary * a new SetOutput method in the Logger * a new configuration of the textformatter to configure the name of the default keys * a new configuration of the text formatter to disable the level truncation diff --git a/entry_test.go b/entry_test.go index 41c47a2fb..c01314b35 100644 --- a/entry_test.go +++ b/entry_test.go @@ -271,7 +271,7 @@ func TestEntryReportCallerRace(t *testing.T) { entry := NewEntry(logger) // logging before SetReportCaller has the highest chance of causing a race condition - // to be detected, but doing it twice just to increase the likelyhood of detecting the race + // to be detected, but doing it twice just to increase the likelihood of detecting the race go func() { entry.Info("should not race") }() @@ -288,7 +288,7 @@ func TestEntryFormatterRace(t *testing.T) { entry := NewEntry(logger) // logging before SetReportCaller has the highest chance of causing a race condition - // to be detected, but doing it twice just to increase the likelyhood of detecting the race + // to be detected, but doing it twice just to increase the likelihood of detecting the race go func() { entry.Info("should not race") }()