Skip to content

Add option to defer With composition to first log

Codecov / codecov/patch failed Aug 14, 2023 in 1s

63.15% of diff hit (target 97.61%)

View this Pull Request on Codecov

63.15% of diff hit (target 97.61%)

Annotations

Check warning on line 55 in zapcore/deferred_with.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

zapcore/deferred_with.go#L51-L55

Added lines #L51 - L55 were not covered by tests

Check warning on line 65 in zapcore/deferred_with.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

zapcore/deferred_with.go#L63-L65

Added lines #L63 - L65 were not covered by tests

Check warning on line 70 in zapcore/deferred_with.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

zapcore/deferred_with.go#L68-L70

Added lines #L68 - L70 were not covered by tests

Check warning on line 80 in zapcore/deferred_with.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

zapcore/deferred_with.go#L78-L80

Added lines #L78 - L80 were not covered by tests