lib/logging/logger.rb in logging-1.5.2 vs lib/logging/logger.rb in logging-1.6.0
- old
+ new
@@ -305,9 +305,15 @@
define_log_methods(true)
self.level
end
+ # Returns the list of appenders.
+ #
+ def appenders
+ @appenders.dup
+ end
+
# call-seq:
# appenders = app
#
# Clears the current list of appenders and replaces them with _app_,
# where _app_ can be either a single appender or an array of appenders.