method
log
log(level, data)
public
Hide source
# File lib/webrick/log.rb, line 37 def log(level, data) if @log && level <= @level data += "\n" if /\n\Z/ !~ data @log << data end end