0

I have the windsor logging facility working on my project by following this page: http://docs.castleproject.org/Windsor.Logging-Facility.ashx and then using a log4net.config.

However I am interested in not using the log4net.config but in using the code based appender setup as detailed in this post: How to configure log4net programmatically from scratch (no config)

Is this possible with the logging facility? What is the best way to perform this?

Community
  • 1
  • 1
andy
  • 3
  • 4

1 Answers1

0

Implement ILoggerFactory then pass the type to the logging facility with the LogUsing<T> method. (the type parameter is your logger factory).

Mauricio Scheffer
  • 98,863
  • 23
  • 192
  • 275