Implement helper for severity pretty printing