-
Notifications
You must be signed in to change notification settings - Fork 165
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
Log all the form variables #194
Comments
Currently this isn't possible. I think it's not that difficult to implement. Could you help us with that when I point you to the right direction? |
For sure, I need this feature so I can help ! |
You need to create a new file in I think the code looks a bit like this one: please try to add also some unit tests |
Thank you for your answer. |
well we like to implement it for both. I think the differences will be small. You can use When implementing for both, please include it in the NLog.Web.AspNetCore folder (as described) If it's not feasible for ASP.NET Core, let me know, then we can look how to include this. |
I have implemented this on a fork of NLog.Web. I still need to write unit tests for it but the renderer is here: |
If the unit test is there, we really like to include it :) |
@304NotModified I have added the unit tests and created a pull request. |
Thanks! Reviewed! |
fixed by #313 :) |
Hi,
Is it possible to log all the form variables without specifying each variable in the layout ?
For example, by using something like
${aspnet-request:form=*}
?I did not find the way to do it on this page of the wiki.
Thanks for your help.
The text was updated successfully, but these errors were encountered: