In previous versions of Optimizely, when you wanted to use a different logger, it took a bit of work. Or you could use one of my providers. With CMS12 you can now just configure a different provider without the need of a custom provider. For Serilog add the following packages, I used the file sink, … Continue reading Use Serilog with CMS12
Tag: Logging
Some of you may have noticed I quite like Serilog. And my NuGet package to integrate it in Episerver is used quite a few times, so I guess I am not the only one. One of the reasons I like it is that you enrich your logging with a lot of extra information. There are … Continue reading Enrich your logging with Episerver data
Have you ever been digging through log files just wondering what the root cause of the exception was? Most of the time there is not a lot of context to give you a clue. Last week I came across a great logging framework / tool. One True Error. It gives you a lot of extra … Continue reading One True Error
Though the API is still in pre release, I looked into adding NLog logging to EPiServer in an easy way, as a LoggerFactory. Turns out it's not very difficult and the API seems to work perfectly ok. Basically you have a logging factory, that needs to implement the ' ILoggerFactory' interface The logger itself needs … Continue reading Add NLog to your EPiServer site, the easy way