Log::Any::Adapter::Core::Patch::UseDataDumperPerltidy - Use Data::Dumper::Perltidy
version 0.03
use Log::Any '$log'; use Log::Any::PT; # shortcut for Log::Any::Adapter::Core::Patch::UseDataDumperPerltidy; $log->debug("See this data structure: %s", $some_data);
Log::Any dumps data structures using Data::Dumper with settings: Indent=0. This is rather hard to read. This patch replaces dumping with using Data::Dumper::Perltidy which has nicer output.
But note that Data::Dumper::Perltidy is rather slow (about 500x slower than Data::Dumper and 50x slower than Data::Dump) and has heavier startup time (about 0.1s, 37K lines). IMO it has the nicest output though.
Log::Any::Adapter::Core::Patch::SetDumperIndent
Log::Any::Adapter::Core::Patch::UseDataDump
Please visit the project's homepage at https://metacpan.org/release/Log-Any-Adapter-Core-Patch-UseDataDumperPerltidy.
Source repository is at https://github.com/sharyanto/perl-Log-Any-Adapter-Core-Patch-UseDataDumperPerltidy.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Log-Any-Adapter-Core-Patch-UseDataDumperPerltidy
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2013 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Log::Any::Adapter::Core::Patch::UseDataDumperPerltidy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Any::Adapter::Core::Patch::UseDataDumperPerltidy
CPAN shell
perl -MCPAN -e shell install Log::Any::Adapter::Core::Patch::UseDataDumperPerltidy
For more information on module installation, please visit the detailed CPAN module installation guide.