NAME

FlightRecorder::Plugin::ReportVerbose

ABSTRACT

Verbose FlightRecorder Report Generator

SYNOPSIS

package main;

use FlightRecorder;
use FlightRecorder::Plugin::ReportVerbose;

my $f = FlightRecorder->new;
my $r = FlightRecorder::Plugin::ReportVerbose->new(flight_recorder => $f);

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

my $reporter = $r;

DESCRIPTION

This package provides a mechanism for converting a FlightRecorder event log into a human-readable report.

INHERITS

This package inherits behaviors from:

FlightRecorder::Plugin::Report

ATTRIBUTES

This package has the following attributes:

flight_recorder

flight_recorder(InstanceOf['FlightRecorder'])

This attribute is read-only, accepts (InstanceOf['FlightRecorder']) values, and is required.

level

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.

METHODS

This package implements the following methods:

generate

generate() : Str

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

generate example #1
# given: synopsis

$r->generate

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

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".

PROJECT

Wiki

Project

Initiatives

Milestones

Contributing

Issues