Method: XCActivityLog::IDEActivityLogSection::Severity#to_s

Defined in:
lib/xcactivitylog/objects.rb

#to_sObject



67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/xcactivitylog/objects.rb', line 67

def to_s
  case severity
  when 0
    'Success'
  when 1
    'Warning'
  when 2
    'Error'
  when 3
    'Test Failure'
  else
    "Unknown (#{severity})"
  end
end