Dancer2::Plugin::LogReport::Message(3pm) | User Contributed Perl Documentation | Dancer2::Plugin::LogReport::Message(3pm) |
Dancer2::Plugin::LogReport::Message - extended Log::Report message class
Dancer2::Plugin::LogReport::Message is a Log::Report::Message
In your template: [% FOR message IN messages %] <div class="alert alert-[% message.bootstrap_color %]"> [% message.toString | html_entity %] </div> [% END %]
[The Dancer2 plugin was contributed by Andrew Beverley]
This class is an extension of Log::Report::Message, with functions specifically designed for Dancer applications. Minimal functions are provided (currently only aimed at Bootstrap), but ideas for new ones are welcome.
Extends "DESCRIPTION" in Log::Report::Message.
Extends "METHODS" in Log::Report::Message.
"success" is used for Dancer2::Plugin::LogReport::success() messages, "info" colors are used for messages "notice" and below, "warning" is used for "warning" and "mistake", "danger" is used for all other messages
Extends "DETAILS" in Log::Report::Message.
Extends "OVERLOADING" in Log::Report::Message.
This module is part of Log-Report distribution version 1.36, built on October 27, 2023. Website: http://perl.overmeer.net/CPAN/
Copyrights 2007-2023 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.
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/
2023-10-29 | perl v5.36.0 |