What is the recommended way to override/customize log functionality?
Can I use Log.InitializeWith<MyCustomLogger>();
?
Litium version: 7.2
What is the recommended way to override/customize log functionality?
Can I use Log.InitializeWith<MyCustomLogger>();
?
Litium version: 7.2
Yes, and MyCustomLogger inherits from Litium.Owin.Logging.ILog.
You can find an example of how to do this in our Serilog add-on over at GitHub: https://github.com/distancify/Distancify.LitiumAddOns.Serilog/tree/master/Distancify.LitiumAddOns.Serilog
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.