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

It is not possible to set Source property directly in the AuditEvent #8

Open
hansmbakker opened this issue Jun 19, 2020 · 1 comment

Comments

@hansmbakker
Copy link

It is not possible to manually set the Source property of AuditEvent because of https://github.com/skoruba/AuditLogging/blob/master/src/Skoruba.AuditLogging/Services/AuditEventLogger.cs#L69-L80

The only way to set it, currently, is through configuration, but you cannot e.g. use it to set what class the log was generated in.

@skoruba
Copy link
Owner

skoruba commented Jun 19, 2020

Are you able to send a PR for this feature or detailed sample what do want to achieve from code?
Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants