Winston rewriter to help logging errors.