Add a logging facility