status-im / status-go

The Status module that consumes go-ethereum
https://status.im
Mozilla Public License 2.0
727 stars 249 forks source link

Enable runtime log configuration for zap.Logger #6023

Closed osmaczko closed 19 hours ago

osmaczko commented 3 weeks ago

Currently, the geth logger supports overriding log level, format, and writer at runtime. zap.Logger does not support it out of the box, to achieve similar functionality with zap.Logger, a custom zap.Core must be introduced.