You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like using perl -MLWP::ConsoleLogger::Everywhere foo.pl, but I still have to change code if I want different logger settings. It would be nice if I could set the defaults on import, so I could say perl '-MLWP::ConsoleLogger::Everywhere (logger => Log::Dispatch->new(outputs => [['File', min_level => 'debug', filename => 'foo.log']]))' foo.pl.
And for that particular use case, it would be neat if there was a shortcut settings (log_file?) that would take care of that Log::Dispatch invocation for me, so I could say perl -MLWP::ConsoleLogger::Everywhere=log_file,foo.log foo.pl
The text was updated successfully, but these errors were encountered:
I like using
perl -MLWP::ConsoleLogger::Everywhere foo.pl, but I still have to change code if I want different logger settings. It would be nice if I could set the defaults on import, so I could sayperl '-MLWP::ConsoleLogger::Everywhere (logger => Log::Dispatch->new(outputs => [['File', min_level => 'debug', filename => 'foo.log']]))' foo.pl.And for that particular use case, it would be neat if there was a shortcut settings (
log_file?) that would take care of thatLog::Dispatchinvocation for me, so I could sayperl -MLWP::ConsoleLogger::Everywhere=log_file,foo.log foo.plThe text was updated successfully, but these errors were encountered: