Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
phsym committed Aug 15, 2023
1 parent d6e2960 commit ce8f0ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zerolog.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ var _ zerologHandler = (*Handler)(nil)
// opts.Level is used.
//
// The provided logger instance must be configured to not send timestamps or caller information.
//
// If opts is nil, it assumes default options values.
func NewHandler(logger zerolog.Logger, opts *HandlerOptions) *Handler {
if opts == nil {
opts = new(HandlerOptions)
Expand Down

0 comments on commit ce8f0ce

Please sign in to comment.