Added error logger API