4 use Test::More tests => 2;
6 use Log::Contextual qw(:log);
9 exception { Log::Contextual::set_logger() },
10 qr/set_logger is no longer a direct sub in Log::Contextual/,
11 'Log::Contextual::set_logger dies',
15 exception { Log::Contextual::with_logger() },
16 qr/with_logger is no longer a direct sub in Log::Contextual/,
17 'Log::Contextual::with_logger dies',