add implementation for log() method in MessageListener implementation