Exception: Exception

Defined in:
lib/uttk/logger/to_uttk_log.rb

Instance Method Summary collapse

Instance Method Details

#to_uttk_log(log) ⇒ Object



88
89
90
91
92
93
94
95
96
# File 'lib/uttk/logger/to_uttk_log.rb', line 88

def to_uttk_log ( log )
  if log.severity_level <= Severity::DEBUG
    long_pp.to_uttk_log(log)
  elsif log.severity_level <= Severity::VERBOSE_INFO
    short_pp.to_uttk_log(log)
  else
    tiny_pp.to_uttk_log(log)
  end
end