From 3cfbb4f374cee2d193b80d4cd373e3fd05997027 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Sun, 26 Feb 2006 19:48:33 +0000 Subject: Add around methods to Logger. Closes #3809 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activesupport/CHANGELOG') diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index b68e2cad15..d8fa10ce8b 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,5 +1,10 @@ *SVN* +* Add 'around' methods to Logger, to make it easy to log before and after messages for a given block as requested in #3809. [Michael Koziarski] Example: + + logger.around_info("Start rendering component (#{options.inspect}): ", + "\n\nEnd of component rendering") { yield } + * Added Time#beginning_of_quarter #3607 [cohen.jeff@gmail.com] * Fix Object.subclasses_of to only return currently defined objects [Jonathan Viney ] -- cgit v1.2.3