chore: fix some typos

Signed-off-by: crazeteam <lilujing@outlook.com>
This commit is contained in:
crazeteam 2024-03-26 12:16:27 +08:00
parent dd1b4c2e81
commit 54ca9b6abb
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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")
}()