lib/logging/logger.rb in logging-1.3.0 vs lib/logging/logger.rb in logging-1.4.0
- old
+ new
@@ -181,9 +181,10 @@
#
def <<( msg )
@appenders.each {|a| a << msg}
@parent << msg if @additive
end
+ alias :write :<<
# call-seq:
# add( severity, message = nil ) {block}
#
# Log a message if the given severity is high enough. This is the generic