X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flogsetup.pl;h=c119940ad4a93820c0ffaa5e20e1681a7817a9a2;hb=e1a0b9ca22fab8555fb597473b6f3a4074d7b48b;hp=e5836630fb2bf7e895fd26258521cbc69698b6ed;hpb=4e4463355a9ec6afdc7983ee36daa9f11306d4fc;p=scpubgit%2FObject-Remote.git diff --git a/t/logsetup.pl b/t/logsetup.pl index e583663..c119940 100644 --- a/t/logsetup.pl +++ b/t/logsetup.pl @@ -10,10 +10,10 @@ sub _output { } package main; -use Object::Remote::Logging qw( get_router ); +use Object::Remote::Logging qw( 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(Object::Remote::Logging::TestOutput->new( +router->connect(Object::Remote::Logging::TestOutput->new( min_level => 'trace', max_level => 'error', level_names => Object::Remote::Logging->arg_levels(), ));