Log::Dispatch::TestDiag - Log to Test::More's diagnostic output
use Log::Dispatch; my $logger = Log::Dispatch->new( outputs => [ ['TestDiag', min_level=>'debug'], ], );
This module provides a Log::Dispatch output that spits the logged records out using Test::More's diagnostic output.
Log::Dispatch
Test::More
Constructs a new Log::Dispatch::TestDiag object and returns it to the caller. Accepts standard Log::Dispatch::Output parameters (e.g. min_level).
Log::Dispatch::TestDiag
Log::Dispatch::Output
min_level
Logs the given message to Test::More::diag().
Test::More::diag()
Graham TerMarsch (cpan@howlingfrog.com)
Copyright (C) 2011, Graham TerMArsch. All Rights Reserved.
This is free software, you can redistribute it and/or modify it under the Artistic-2.0 license.
Log::Dispatch.
To install Log::Dispatch::TestDiag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Dispatch::TestDiag
CPAN shell
perl -MCPAN -e shell install Log::Dispatch::TestDiag
For more information on module installation, please visit the detailed CPAN module installation guide.