Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zap.Tee shadows the real caller #200

Closed
buztard opened this issue Dec 5, 2016 · 1 comment
Closed

zap.Tee shadows the real caller #200

buztard opened this issue Dec 5, 2016 · 1 comment

Comments

@buztard
Copy link

buztard commented Dec 5, 2016

When using zap.Tee(...) the reported filename is tee.go:89 instead of the calling location.

@prashantv
Copy link
Collaborator

The zap.Tee logger wraps the underlying logger, and AddCaller does not currently support logging This is currently being tracked in #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants