package System::Introspector::Report::Publish::MediaWiki;
use Moo;
use Try::Tiny;
-use Log::Contextual qw( :log );
+use Log::Contextual::WarnLogger;
+use Log::Contextual qw( :log ),
+ -default_logger => Log::Contextual::WarnLogger->new({
+ env_prefix => 'SI_REPORT_MEDIAWIKI',
+ levels => [qw( error fatal warn )],
+ });
+
use aliased 'System::Introspector::Report::Publish::MediaWiki::Connection';
has page_options => (
use JSON::PP;
use IO::All;
use Module::Runtime qw( use_module );
-use Log::Contextual qw( :log );
+use Log::Contextual::WarnLogger;
+use Log::Contextual qw( :log ),
+ -default_logger => Log::Contextual::WarnLogger->new({
+ env_prefix => 'SI_REPORT_SOURCE',
+ levels => [qw( error fatal warn )],
+ });
my $_json = JSON::PP->new->utf8->relaxed->allow_nonref;