Add a facility for logging messages.