Return the verbosity of this app.
None.
The value of either _verbose or _v
_verbose
_v
prinf $fmt, @values to the currently selected filehandle.
prinf $fmt, @values
Positional.
The format gets an extra new line if one wasn't present.
use in void context.
prinf $fmt, @values to the currently selected filehandle if the 'verbose' option is set.
prinf $fmt, @values to the currently selected filehandle if the 'verbose' option is set to a value > 1.
Test::Smoke::Logger - Helper object for logging.
use Test::Smoke::LogMixin; my $logger = Test::Smoke::Logger->new(v => 1); $logger->log_warn("Minimal log level"); # v >= 0 $logger->log_info("Medium log level"); # v <= 1 $logger->log_debug("High log level"); # v > 1
Return a logger instance.
Named, hash:
The Test::Smoke::Logger instance.
To install Test::Smoke, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Smoke
CPAN shell
perl -MCPAN -e shell install Test::Smoke
For more information on module installation, please visit the detailed CPAN module installation guide.