Test2-Eventfacet-Trace

Test2::EventFacet::Trace(3p) Perl Programmers Reference Guide

Test2-Eventfacet-Trace

Test2::EventFacet::Trace(3p) Perl Programmers Reference Guide # Test2::EventFacet::Trace(3p) Perl Programmers Reference Guide NNAAMMEE # Test2::EventFacet::Trace - Debug information for events DDEESSCCRRIIPPTTIIOONN # The Test2::API::Context object, as well as all Test2::Event types need to have access to information about where they were created. This object represents that information. SSYYNNOOPPSSIISS # use Test2::EventFacet::Trace; my $trace = Test2::EventFacet::Trace->new( frame => [$package, $file, $line, $subname], ); FFAACCEETT FFIIEELLDDSS # $string = $trace->{details} $string = $trace->ddeettaaiillss(()) Used as a custom trace message that will be used INSTEAD of "at <FILE> line <LINE>" when calling "$trace->debug". ...