From 54ca9b6abbc222f90fcc97bbc20b3bb6b3550c59 Mon Sep 17 00:00:00 2001 From: crazeteam Date: Tue, 26 Mar 2024 12:16:27 +0800 Subject: [PATCH] chore: fix some typos Signed-off-by: crazeteam --- CHANGELOG.md | 4 ++-- entry_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7567f61..098608f 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 d702661..3d4cecd 100644 --- a/entry_test.go +++ b/entry_test.go @@ -276,7 +276,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") }() @@ -293,7 +293,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") }()