SaturnFramework / Saturn

Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
https://saturnframework.org
MIT License
703 stars 108 forks source link

Getting to the LoggingFactory #318

Closed isaacabraham closed 2 years ago

isaacabraham commented 2 years ago

Is there any way in the application { } block to get to the ILoggingFactory type? I'm trying to turn on e.g. debug logs for ILogger and it seems like this the only code-first way to do that is with the ILF.

isaacabraham commented 2 years ago

Forget it - you can do it from ILogger as well using the logging keyword, you just need the extension methods brought in.