perldoc > Test2::Event::Diag

đŸˇī¸ NAME

Test2::Event::Diag - Diag event type

🚀 Quick Reference

Use CaseCommandDescription
Create a diagnostic event$ctx->diag($message)📝 Create a Test2::Event::Diag object with the given message
Retrieve the message$diag->message🔍 Get the diagnostic message from the event

📝 DESCRIPTION

Diagnostics messages, typically rendered to STDERR.

📋 SYNOPSIS

use Test2::API qw/context/;
use Test2::Event::Diag;

my $ctx = context();
my $event = $ctx->diag($message);

🔍 ACCESSORS

📚 SOURCE

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

đŸ‘Ĩ MAINTAINERS

Chad Granum <exodist AT cpan.org>

âœī¸ AUTHORS

Chad Granum <exodist AT cpan.org>

ÂŠī¸ COPYRIGHT

Copyright 2020 Chad Granum <exodist AT cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/

Test2::Event::Diag
đŸˇī¸ NAME 🚀 Quick Reference 📝 DESCRIPTION 📋 SYNOPSIS 🔍 ACCESSORS 📚 SOURCE đŸ‘Ĩ MAINTAINERS âœī¸ AUTHORS ÂŠī¸ COPYRIGHT

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-23 07:48 @216.73.216.102
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!