Fixed DebugLogger to handle published EventMessages.