FlightRecorder::Plugin::ReportSuccinct
Succinct FlightRecorder Report Generator
package main; use FlightRecorder; use FlightRecorder::Plugin::ReportSuccinct; my $f = FlightRecorder->new(auto => undef); my $r = FlightRecorder::Plugin::ReportSuccinct->new(flight_recorder => $f); $f->begin('main'); $f->debug('something happened'); $f->end; my $reporter = $r;
This package provides a mechanism for converting a FlightRecorder event log into a printable report.
This package inherits behaviors from:
FlightRecorder::Plugin::Report
This package uses type constraints from:
Types::Standard
This package has the following attributes:
flight_recorder(InstanceOf['FlightRecorder'])
This attribute is read-only, accepts (InstanceOf['FlightRecorder']) values, and is required.
(InstanceOf['FlightRecorder'])
level(Enum[qw(debug info warn error fatal)])
This attribute is read-write, accepts (Enum[qw(debug info warn error fatal)]) values, and is optional.
(Enum[qw(debug info warn error fatal)])
This package implements the following methods:
generate() : Str
The generate method generates a succint report of activity captured by FlightRecorder.
# given: synopsis $r->generate
output() : Str
The output method generates a verbose report of activity captured by FlightRecorder and prints it to STDOUT.
# given: synopsis $r->output
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".
Wiki
Project
Initiatives
Milestones
Contributing
Issues
To install FlightRecorder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FlightRecorder
CPAN shell
perl -MCPAN -e shell install FlightRecorder
For more information on module installation, please visit the detailed CPAN module installation guide.