views:

15

answers:

1

Hi,

I'm trying to use the logging block of Enterprise library for our application and I'm wondering if there's a way for the logger to automatically log the Class name that it is called from?

I could manually insert the class name in the message when calling logger.write but I want to know if there's another way of doing this.

Thanks