Tags: aelnahas/zerolog
Toggle v1.23.0's commit message
Fix copying stack setting in logger's Output method (rs#325 )
Minimum example to reproduce the problem:
```go
package main
import (
"os"
"github.com/pkg/errors"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/rs/zerolog/pkgerrors"
)
func main() {
log.Logger = log.With().Caller().Stack().Logger().Output(zerolog.ConsoleWriter{Out: os.Stderr})
zerolog.ErrorStackMarshaler = pkgerrors.MarshalStack
log.Info().Err(errors.New("test")).Send()
}
```
Without my changes `stack` isn't printed.
Toggle v1.22.0's commit message
Add ability to customize level values
Toggle v1.21.0's commit message
Toggle v1.20.0's commit message
Fix typo in diode.NewWriter argument name (rs#254 )
Toggle v1.19.0's commit message
stringer event method (rs#185 )
Toggle v1.18.0's commit message
Fix test on non linux platform
Toggle v1.17.2's commit message
Toggle v1.17.1's commit message
Remove Trace from SyslogWriter interface
Toggle v1.17.0's commit message
Expose the Err helper from the global logger
Toggle v1.16.0's commit message
make TimeFormatUnixMicro var exportable (rs#189 )
You can’t perform that action at this time.