Closed sazzer closed 4 years ago
Currently this always calls zerolog.New(out) to create a logger to use. It would be useful to be able to provide an instance to use instead, since this can then inherit configuration that is setup elsewhere - such as the output format.
zerolog.New(out)
Currently this always calls
zerolog.New(out)
to create a logger to use. It would be useful to be able to provide an instance to use instead, since this can then inherit configuration that is setup elsewhere - such as the output format.