API change: autoflush (log) now on by default + unit tests + POD
authorHenry Van Styn <vanstyn@intellitree.com>
Tue, 13 May 2014 15:58:13 +0000 (11:58 -0400)
committerHenry Van Styn <vanstyn@intellitree.com>
Tue, 13 May 2014 15:58:13 +0000 (11:58 -0400)
commit66ef16798266544a462bc6f0250cc693caec47ed
tree1a6abf6e9fa66d8760b7a5e3c8763172b1e70269
parenteb0d3cdea253b57559d190821a4f11b6265661ab
API change: autoflush (log) now on by default + unit tests + POD

The new autoflush feature of Catalyst::Log now defaults to true and is
left on. In order to access the old behavior, modules such as
Static::Simple must manually turn it off (i.e. by hooking
setup_finalize, see example in POD).

Also updated logger unit tests, and added a new set of
autoflush-specific tests.

Note: this API change was suggested by mst
lib/Catalyst.pm
lib/Catalyst/Log.pm
t/aggregate/unit_core_log.t [changed mode: 0644->0755]
t/aggregate/unit_core_log_autoflush.t [new file with mode: 0755]