--- /dev/null
+package Object::Remote::Logging::DieLogger;
+
+use Moo;
+
+extends 'Object::Remote::Logging::Logger';
+
+has format => ( is => 'ro', required => 1, default => sub { '%s at %f line %i' } );
+has max_level => ( is => 'ro', required => 1, default => sub { 'fatal' } );
+has min_level => ( is => 'ro', required => 1, default => sub { 'fatal' } );
+
+sub output { die $_[1] };
+
+1;
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 {
extends 'Object::Remote::Logging::Logger';
has format => ( is => 'ro', required => 1, default => sub { '%s at %f line %i, log level: %l' } );
+has max_level => ( is => 'ro', required => 1, default => sub { 'error' } );
has min_level => ( is => 'ro', required => 1, default => sub { 'warn' } );
sub output { warn $_[1] };