lib/fozzie.rb in fozzie-0.0.17 vs lib/fozzie.rb in fozzie-0.0.18
- old
+ new
@@ -34,14 +34,19 @@
def configure
yield c if block_given?
end
# Set a logger
+ #
+ #
+ # `Fozzie.logger = Logger.new(STDOUT)`
def logger=(logger)
@logger = logger
end
# Accessor for logger
+ #
+ # `Fozzie.logger.warn 'foo'`
def logger
@logger
end
end
\ No newline at end of file