projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Modernize LC usage
[dbsrgits/DBIx-Class-DeploymentHandler.git]
/
lib
/
DBIx
/
Class
/
DeploymentHandler
/
Logger.pm
diff --git
a/lib/DBIx/Class/DeploymentHandler/Logger.pm
b/lib/DBIx/Class/DeploymentHandler/Logger.pm
index
565a898
..
1aadb82
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/Logger.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/Logger.pm
@@
-37,4
+37,13
@@
sub _log {
warn "[DBICDH] [$level] $message";
}
+sub new {
+ my ($self, $options, @rest) = @_;
+
+ $options ||= {};
+ $options->{env_prefix} ||= 'DBICDH';
+
+ $self->next::method($options, @rest)
+}
+
1;