Customized parameter logging when using aspect oriented programing
<p>All the examples I've seen that use aspect oriented programming for logging either log just class, method name and duration, and if they log parameters and return values they simply use ToString(). I need to have more control over what is logged. For example I want to skip passwords, or in some cases log all properties of an object but in other cases just the id property. 
Any suggestions? I looked at AspectJ in Java and Unity interception in C# and could not find a solution.</p>