Skip to content
New issue

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

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

Already on GitHub? # to your account

Set the logger via the log event info in SentryTarget.Write #227

Merged
merged 1 commit into from
Jun 13, 2019

Conversation

josh-degraw
Copy link
Contributor

This pull request assigns the Logger property of the captured SentryEvent as the LoggerName of the NLog LogEventInfo. So the SentryTarget just tells sentry the name of the logger via NLog. I found myself writing BeforeSend callbacks all over to accomplish this, when it really should have been done from the get-go.

@bruno-garcia bruno-garcia merged commit 2a3eb02 into getsentry:master Jun 13, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants