= private = protected
log(level, data)
Logs data at level if the given level is above the current log level.
# File lib/webrick/log.rb, line 74 def log(level, data) if @log && level <= @level data += "\n" if /\n\Z/ !~ data @log << data end end