Logging facility for D