Saturday 15 March 2014

c# - nlog extensions to log current method information -


Are there extensions / contributions projects that add many extensions to NLOG, such as for example the current method automatically Entrance and its criteria? For example:

  Public Zero Register UserFormural ContentFinNotLife (String Email, String Name, String Telen) {_log.Debug (_log.GetCurrentMethodAndParameters ()); }   

This will be because RegisterUserForPromotionalMaterialIfNotAlready (test@test.com, 'Test Name', 'Test Tel') for example. >

Based on the method it is not possible without an interceptor.

/ div>

No comments:

Post a Comment