Added error logger support.