X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FLogging%2FLogger.pm;fp=lib%2FObject%2FRemote%2FLogging%2FLogger.pm;h=888d9984bfbc5626e65f241531c34b9fb394105e;hp=e440d576c5de85dc70d0e3f29632de1c2508bb2b;hb=fe203cb2d2fd85b7051a55ffbb34c1b9ac1a65a2;hpb=466ee2c442ee6958e077a02c3c250245f06ad819 diff --git a/lib/Object/Remote/Logging/Logger.pm b/lib/Object/Remote/Logging/Logger.pm index e440d57..888d998 100644 --- a/lib/Object/Remote/Logging/Logger.pm +++ b/lib/Object/Remote/Logging/Logger.pm @@ -6,7 +6,7 @@ use Scalar::Util qw(weaken); has format => ( is => 'ro', required => 1, default => sub { '%l: %s' } ); has level_names => ( is => 'ro', required => 1 ); has min_level => ( is => 'ro', required => 1 ); -has max_level => ( is => 'ro' ); +has max_level => ( is => 'ro', required => 1, deafult => sub { 'info' } ); has _level_active => ( is => 'lazy' ); sub BUILD {