zap
zap copied to clipboard
Blazing fast, structured, leveled logging in Go.
I’m want to log a stacktrace from where an error is returned (but not where zap.Error is called), and it would be useful if I could instruct zap to show...
The reason of this proposal is that in json the only number format defined is float64. so int64 numbers in json log might lose precision from the log ingestion. Take...
Can zap output log to mailbox?
I am using zap as a logr provider in https://github.com/fidelity/kraan ```json { "level": "error", "ts": "2020-11-17T17:08:29.459Z", "logger": "kraan.manager.controller", "msg": "Reconciler error", "reconcilerGroup": "kraan.io", "reconcilerKind": "AddonsLayer", "controller": "addonslayer", "name": "bootstrap", "namespace":...
I'm wondering if there would be any interest in making `zapcore.EncoderConfig` extendable so that custom Encoders could rely on it for additional configuration they may need. As far as I...
My company wants to implement a trace level log. Currently, this is problematic because zap.Logger.check is private. Digging in, it would seem that a full implementation would extract https://github.com/uber-go/zap/blob/master/logger.go#L273-L282 into...
can i hope to see this feauture anytime later? some fields of EncoderConfig have json+yaml tags that differs from field name (but have no toml tag). that forces me to...
When set logpath for zap, it always to create with file mode 0644 for log file. Does it support dedicate file permission mode, such as 0664?
I'm trying to use `zap` on AWS Lambda. With the following configuration: ```go logger, err := zap.NewProduction() if err != nil { log.Fatalf("error creating logger: %s", err) } ... ```...