Lintian::Output(3) | Debian Package Checker | Lintian::Output(3) |
Lintian::Output - Lintian messaging handling
use Lintian::Output; my $out = Lintian::Output->new; $out->verbosity(-1); $out->msg("Something interesting"); $out->v_msg("Something less interesting"); $out->debug_msg(3, "Something very specific");
Lintian::Output is used for all interaction between lintian and the user. It is designed to be easily extensible via subclassing.
To simplify usage in the most common cases, many Lintian::Output methods can be used as class methods and will therefore automatically use the object $Lintian::Output::GLOBAL unless their first argument "isa('Lintian::Output')".
The following fields impact the behavior of Lintian::Output.
These methods can be used both with and without an object. If no object is given, they will fall back to the $Lintian::Output::GLOBAL object.
Will output the strings given in @args, one per line, each line prefixed with 'N: '. Will do nothing unless debug is set to a positive integer >= $level.
Will output the strings given in @args, one per line. The lines will not be prefixed. Will do nothing unless perf_debug is set to a positive integer.
2020-11-27 | Lintian v2.104.0 |