Posts about Logging

When is a logger a dependency?

There is some discussion about whether loggers should get injected into your classes (dependency injection) or if you should use the logger facade (like…

Dealing with exceptions, Logging and displaying error messages

I’ve got a client which is really firm that the user should know what went wrong when exceptions are thrown. So we are displaying error messages like

Introducing my logging library

I’ve just published the first version (consider it a beta) of my logging library to the official nuget server(s).

NLog configuration

I’ve switched from my own logging framework to NLog. NLog seems quite flexible, is under active development and suits my needs perfectly. I’m logging both to…