Internal refactor to enable plugable log entry listeners.