could you provide some samples for audit loggin using NHibernate (ASP.Net+C# codd, not java code)
相关问题
- I want to trace logs using a Macro multi parameter
- Error message 'No handlers could be found for
- convert logback.xml to log4j.properties
- Django management command doesn't show logging
- apache modules ap_log_perror is at a different lev
相关文章
- how do I log requests and responses for debugging
- Fluent NHibernate — Saving Entity with Composite K
- Is this the right way of using ThenFetch() to load
- Android Studio doesn't display logs by package
- Can Persistence Ignorance Scale?
- Stacktrace does not print in Glassfish 4.1 Cluster
- Out of curiosity — why don't logging APIs impl
- Laravel log file based on date
I've most often seen this done with interceptors. There are plenty of blog postings to be found through Google about implementing interceptors for auditing, like this one.
Event Listeners are better for audit info than Interceptors. Here's a great example from Ayende's blog.