lib/logspot.rb in logspot-0.5.0 vs lib/logspot.rb in logspot-0.6.0

- old
+ new

@@ -85,13 +85,11 @@ previous_output, @output = output, top_output block.call @output = previous_output end - def raw(&block) - previous_output, @output = output, raw_output - block.call - @output = previous_output + def raw(message) + raw_output.write(message) end LOG_LEVELS.each do |level| define_method(level.downcase) do |*args, &block| write(level, *args, &block)