* Fix typos

* Revert

* Revert to "htlm"

* fix indentations
This commit is contained in:
Viktor Szépe
2024-05-10 16:08:54 +02:00
committed by GitHub
parent e60148ecc3
commit d7e3a1974b
13 changed files with 25 additions and 25 deletions

View File

@ -372,7 +372,7 @@ func (cl *BaseLog) provisionCommon(ctx Context, logging *Logging) error {
func (cl *BaseLog) buildCore() {
// logs which only discard their output don't need
// to perform encoding or any other processing steps
// at all, so just shorcut to a nop core instead
// at all, so just shortcut to a nop core instead
if _, ok := cl.writerOpener.(*DiscardWriter); ok {
cl.core = zapcore.NewNopCore()
return