1Test2::Event::Diag(3) User Contributed Perl DocumentationTest2::Event::Diag(3)
2
3
4

NAME

6       Test2::Event::Diag - Diag event type
7

DESCRIPTION

9       Diagnostics messages, typically rendered to STDERR.
10

SYNOPSIS

12           use Test2::API qw/context/;
13           use Test2::Event::Diag;
14
15           my $ctx = context();
16           my $event = $ctx->diag($message);
17

ACCESSORS

19       $diag->message
20           The message for the diag.
21

SOURCE

23       The source code repository for Test2 can be found at
24       http://github.com/Test-More/test-more/.
25

MAINTAINERS

27       Chad Granum <exodist@cpan.org>
28

AUTHORS

30       Chad Granum <exodist@cpan.org>
31
33       Copyright 2020 Chad Granum <exodist@cpan.org>.
34
35       This program is free software; you can redistribute it and/or modify it
36       under the same terms as Perl itself.
37
38       See http://dev.perl.org/licenses/
39
40
41
42perl v5.36.0                      2023-03-15             Test2::Event::Diag(3)
Impressum