Skip to content
Browse files

Make the logger lazy

  • Loading branch information...
1 parent 2372e30 commit 0255ce5f6b5bde38b8211811cb8f56e9aba1393f @autarch committed Apr 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Database/Migrator/Core.pm
View
1 lib/Database/Migrator/Core.pm
@@ -89,6 +89,7 @@ has logger => (
traits => ['NoGetopt'],
is => 'ro',
isa => duck_type( [qw( debug info )] ),
+ lazy => 1,
builder => '_build_logger',
);

0 comments on commit 0255ce5

Please sign in to comment.
Something went wrong with that request. Please try again.