mirror of https://github.com/sirupsen/logrus.git
fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
This commit is contained in:
parent
85981c0459
commit
346a9b3575
|
@ -37,7 +37,7 @@ Features:
|
||||||
# 1.6.0
|
# 1.6.0
|
||||||
Fixes:
|
Fixes:
|
||||||
* end of line cleanup
|
* 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
|
* update dependency on go-windows-terminal-sequences to fix a crash with go 1.14
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
@ -129,7 +129,7 @@ This new release introduces:
|
||||||
which is mostly useful for logger wrapper
|
which is mostly useful for logger wrapper
|
||||||
* a fix reverting the immutability of the entry given as parameter to the hooks
|
* 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
|
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 SetOutput method in the Logger
|
||||||
* a new configuration of the textformatter to configure the name of the default keys
|
* 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
|
* a new configuration of the text formatter to disable the level truncation
|
||||||
|
|
|
@ -271,7 +271,7 @@ func TestEntryReportCallerRace(t *testing.T) {
|
||||||
entry := NewEntry(logger)
|
entry := NewEntry(logger)
|
||||||
|
|
||||||
// logging before SetReportCaller has the highest chance of causing a race condition
|
// 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() {
|
go func() {
|
||||||
entry.Info("should not race")
|
entry.Info("should not race")
|
||||||
}()
|
}()
|
||||||
|
@ -288,7 +288,7 @@ func TestEntryFormatterRace(t *testing.T) {
|
||||||
entry := NewEntry(logger)
|
entry := NewEntry(logger)
|
||||||
|
|
||||||
// logging before SetReportCaller has the highest chance of causing a race condition
|
// 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() {
|
go func() {
|
||||||
entry.Info("should not race")
|
entry.Info("should not race")
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue