0
votes

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?

1

1 Answers

0
votes

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