FlightRecorder::Plugin::ReportSimple

Simple FlightRecorder Report Generator

method: generate method: output

package main;

use FlightRecorder;
use FlightRecorder::Plugin::ReportSimple;

my $f = FlightRecorder->new(auto => undef);
my $r = FlightRecorder::Plugin::ReportSimple->new(flight_recorder => $f);

$f->begin('main');
$f->debug('something happened');
$f->end;

my $reporter = $r;

Types::Standard

FlightRecorder::Plugin::Report

flight_recorder: ro, req, InstanceOf['FlightRecorder'] level: rw, opt, Enum[qw(debug info warn error fatal)]

This package provides a mechanism for converting a FlightRecorder event log into a printable report.

The generate method generates a simple report of activity captured by FlightRecorder.

generate() : Str

=example-1 generate

# given: synopsis

$r->generate

The output method generates a verbose report of activity captured by FlightRecorder and prints it to STDOUT.

output() : Str

=example-1 output

# given: synopsis

$r->output

12 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 16:

Unknown directive: =abstract

Around line 22:

Unknown directive: =includes

Around line 29:

Unknown directive: =synopsis

Around line 47:

Unknown directive: =libraries

Around line 53:

Unknown directive: =inherits

Around line 59:

Unknown directive: =attributes

Around line 66:

Unknown directive: =description

Around line 73:

Unknown directive: =method

Around line 78:

Unknown directive: =signature

Around line 90:

Unknown directive: =method

Around line 95:

Unknown directive: =signature