@@ -112,16 +112,8 @@ renderSeverity s = case s of
113-------------------------------------------------------------------------------
113-------------------------------------------------------------------------------
114severityText :: Prism' Text Severity
114severityText :: Prism' Text Severity
115−severityText = prism fromSev toSev
115+severityText = prism renderSeverity toSev
117− fromSev DebugS = "Debug"
118− fromSev InfoS = "Info"
119− fromSev NoticeS = "Notice"
120− fromSev WarningS = "Warning"
121− fromSev ErrorS = "Error"
122− fromSev CriticalS = "Critical"
123− fromSev AlertS = "Alert"
124− fromSev EmergencyS = "Emergency"
125 toSev "Debug" = Right DebugS
117 toSev "Debug" = Right DebugS
126 toSev "Info" = Right InfoS
118 toSev "Info" = Right InfoS
127 toSev "Notice" = Right NoticeS
119 toSev "Notice" = Right NoticeS