added failure types to logger class