Skip to content

Commit

Permalink
fix(otelzap): preserve logs level on method With (#16)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksandr Nekrasov <[email protected]>
  • Loading branch information
chameleon82 and Aleksandr Nekrasov authored Feb 12, 2024
1 parent ab3f752 commit ff4dcb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions otelzap/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (c *otlpCore) With(f []zapcore.Field) zapcore.Core {
return &otlpCore{
logger: c.logger,
fields: fields,
level: c.level,
}
}

Expand Down

0 comments on commit ff4dcb1

Please sign in to comment.