Revision history for {{$dist->name}}
{{$NEXT}}
+ - Use package logger instead of default logger
0.001000_14 2010-06-03 20:17:03 CST6CDT
- Rename preinstall to initialize
[Prereq]
autodie = 0
namespace::autoclean = 0
-Log::Contextual = 0.00202
+Log::Contextual = 0.00300
File::Path = 2.08
File::Touch = 0.08
DBIx::Class = 0.08121
but the default is the first three on and the last three off, and the levels
cascade, so if you turn on trace the rest will turn on automatically.
-Lastly, the logging uses L<Log::Contextual>, so if you have already set up an
-application-wide logger this will use that logger instead, and the environment
-variables will be completely ignored (unless you did something weird like
-set your logger to log when the above environment variables are set.)
-
=head1 DONATIONS
If you'd like to thank me for the work I've done on this module, don't give me
require DBIx::Class::Schema; # loaded for type constraint
use Carp::Clan '^DBIx::Class::DeploymentHandler';
use DBIx::Class::DeploymentHandler::Logger;
-use Log::Contextual ':log', -default_logger =>
+use Log::Contextual ':log', -package_logger =>
DBIx::Class::DeploymentHandler::Logger->new({
env_prefix => 'DBICDH'
});
use autodie;
use Carp qw( carp croak );
use DBIx::Class::DeploymentHandler::Logger;
-use Log::Contextual qw(:log :dlog), -default_logger =>
+use Log::Contextual qw(:log :dlog), -package_logger =>
DBIx::Class::DeploymentHandler::Logger->new({
env_prefix => 'DBICDH'
});
package DBIx::Class::DeploymentHandler::VersionStorage::Deprecated;
use Moose;
use DBIx::Class::DeploymentHandler::Logger;
-use Log::Contextual ':log', -default_logger =>
+use Log::Contextual ':log', -package_logger =>
DBIx::Class::DeploymentHandler::Logger->new({
env_prefix => 'DBICDH'
});
package DBIx::Class::DeploymentHandler::VersionStorage::Standard;
use Moose;
use DBIx::Class::DeploymentHandler::Logger;
-use Log::Contextual ':log', -default_logger =>
+use Log::Contextual ':log', -package_logger =>
DBIx::Class::DeploymentHandler::Logger->new({
env_prefix => 'DBICDH'
});