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

Merging AddSkipPackageFromStackTrace API #1079

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexstov
Copy link

AddSkipPackageFromStackTrace excludes package names from the caller report when
SetReportCaller set to true. Commonly used to skip a custom logrus wrapper package frames.
ex. log.AddSkipPackageFromStackTrace("mycoolapp/mylogger") // skip mycoolapp/mylogger wrapper.

Merging changes discussed in https://github.com/sirupsen/logrus/pull/898/files with minor changes.

@cr3ative
Copy link

Keen to see this, or a similar feature to allow wrapping, merged soon 👀

@stale stale bot added the stale label Feb 26, 2020
@markphelps markphelps removed the stale label Feb 26, 2020
Repository owner deleted a comment from stale bot Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants