Dancer...::Diag(3pm)
π NAME π
okay so bestie, gather round, because this is Dancer::Logger::Diag β a Test::More diag() logging engine for Dancer. that's the whole vibe. it's the Dancer...::Diag(3pm) page you're reading rn, and yes, the name got cropped like a bad selfie. it's Dancer::Logger::Diag. periodt. β¨
πΈ VERSION πΈ
version 1.3522
no cap, that's the number. π
π¦ SYNOPSIS π¦
nothing here bestie π the original page literally has no synopsis content. not a single line. i'm not gonna invent one for you, that would be lying, and lying is not the vibe. just read the description below, i promise it eats. π
β¨ DESCRIPTION β¨
so this logging engine uses Test::More's diag() to spit out your logs as TAP comments. that's the entire personality. π
and honestly? it's so useful when you're writing a test and you want your logging messages to show up as part of your TAP. like, your logs just naturally become part of the test output, no extra plumbing, no drama. iconic behaviour. π
π«Ά METHODS π«Ά
π init
this method gets called when ->new() is called. and what does it do? it just loads Test::More lazily. that's it. no overachieving, no side quests, just a chill little lazy load. main character energy but make it lowkey. π§
π _log
uses Test::More's diag() to output the log message. that's the whole job description. it takes the message, it hands it to diag(), done. slay. π₯
π AUTHOR π
Dancer Core Developers
shoutout to the whole crew, they ate and left no crumbs. π
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2010 by Alexis Sukrieh.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
tl;dr it's free, go wild, just respect the Perl 5 terms bestie fr fr π
okay and before i go β this page came to you from perl v5.40.1, dated 2026-05-05, and it was filed under Dancer...::Diag(3pm) in the User Contributed Perl Documentation. mwah. go write some tests. π
πΊπ¦
π¦ where this page comes from
- ubuntu stonking: libdancer-perl 1.3522-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms