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

Refactor caller reporting #4

Merged
merged 2 commits into from
Mar 14, 2019
Merged

Refactor caller reporting #4

merged 2 commits into from
Mar 14, 2019

Conversation

zonescape
Copy link
Contributor

I make some refactoring for caller reporting in other to simplify further improvements of the code.

  • separate the code for caller reporting
  • add checks for edge cases
  • don't use runtime.FuncForPC() because its usage is discouraged

logger.go Outdated Show resolved Hide resolved
@zonescape
Copy link
Contributor Author

I simplify edge case checking a bit.

@umputun umputun merged commit a7f793b into go-pkgz:master Mar 14, 2019
@zonescape zonescape deleted the caller-report-refactoring branch March 16, 2019 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants