Closed sishui closed 3 months ago
l := zerolog.New(zerolog.ConsoleWriter{Out: os.Stdout}). With(). Timestamp(). Caller(). Logger() l.Info().Str("level", "level-str").Msg("test string") // invalid, //l.Debug().Int32("level", 9).Msg("test int32") // panic //l.Debug().Int("level", 9).Msg("test int") // panic l.Debug().Int64("level", 9).Msg("test int64") //panic
https://github.com/rs/zerolog/pull/665