chore: upgrade dependencies

This commit was merged in pull request #1.
This commit is contained in:
cyrilix committed 2022-09-03 18:40:06 +02:00
1 parent e788abd5a9
commit adb38c3820
86 files changed
+2289 -1745

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@
package zap
import (
"fmt"
"errors"
"sort"
"time"
@@ -182,7 +182,7 @@ func (cfg Config) Build(opts ...Option) (*Logger, error) {
}
if cfg.Level == (AtomicLevel{}) {
return nil, fmt.Errorf("missing Level")
return nil, errors.New("missing Level")
}
log := New(