class ReportPortal::Log4rOutputter
Custom ReportPortal
outputter for ‘log4r’ gem
Public Instance Methods
canonical_log(logevent)
click to toggle source
# File lib/report_portal/logging/log4r_outputter.rb, line 8 def canonical_log(logevent) synch { write(Log4r::LNAMES[logevent.level], format(logevent)) } end
write(level, data)
click to toggle source
# File lib/report_portal/logging/log4r_outputter.rb, line 12 def write(level, data) ReportPortal.send_log(level, data, ReportPortal.now) end