Alien-Build
view release on metacpan or search on metacpan
lib/Alien/Build/Log/Default.pm view on Meta::CPAN
package Alien::Build::Log::Default;
use strict;
use warnings;
use 5.008004;
use parent qw( Alien::Build::Log );
# ABSTRACT: Default Alien::Build log class
our $VERSION = '2.84'; # VERSION
sub log
{
my(undef, %args) = @_;
my($message) = $args{message};
my ($package, $filename, $line) = @{ $args{caller} };
print "$package> $message\n";
}
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Alien::Build::Log::Default - Default Alien::Build log class
=head1 VERSION
version 2.84
=head1 SYNOPSIS
Alien::Build->log("message1");
$build->log("message2");
=head1 DESCRIPTION
This is the default log class for L<Alien::Build>. It does
the sensible thing of sending the message to stdout, along
with the class that made the log call. For more details
about logging with L<Alien::Build>, see L<Alien::Build::Log>.
=head1 METHODS
=head2 log
$log->log(%opts);
Send single log line to stdout.
=head1 SEE ALSO
=over 4
=item L<Alien::Build>
=item L<Alien::Build::Log>
=back
=head1 AUTHOR
( run in 0.953 second using v1.01-cache-2.11-cpan-524268b4103 )