use strictures 1;
use Test::More;
-use System::Introspector::Logger qw ( :log get_router);
+use System::Introspector::Logger qw ( :log router);
-ok (get_router->does('Log::Contextual::Role::Router'), 'router exists');
+ok (router->does('Log::Contextual::Role::Router'), 'router exists');
-done_testing;
\ No newline at end of file
+done_testing;
package main;
-use System::Introspector::Logger qw( :log get_router );
+use System::Introspector::Logger qw( :log router );
#make sure to enable execution of every logging code block
#by setting the log level as high as it can go
-get_router->connect(System::Introspector::Logger::TestOutput->new(
+router->connect(System::Introspector::Logger::TestOutput->new(
min_level => 'trace', max_level => 'error',
level_names => Object::Remote::Logging->arg_levels(),
));