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:
This package uses type constraints from:
This package has the following attributes:
This attribute is read-only, accepts
(InstanceOf['FlightRecorder']) values, and is required.
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.
This package implements the following methods:
generate() : Str
The generate method generates a succint report of activity captured by FlightRecorder.
output() : Str
The output method generates a verbose report of activity captured by FlightRecorder and prints it to STDOUT.
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".