What would be the best way to implement NLog in a WPF Prism / CAL WPF application. This may be an amateur question, I'm a little new to the whole Prism system :)
I thought about putting a link to the NLog dll in the Infrastructure module and making a singleton class shell, for example. MyLogger. My thinking was to have a reference to the 1 logger implementation somewhere in a central location that everything refers to, and the only thing I know in Prism will be your infrastructure module.
An obvious other way is to add a link to the NLog for each module, but I think this will defeat the goal of decoupling and all that.
Any ideas would be most helpful.
Hi
source
share