Scroll to navigation

Dancer::Logger::Note(3pm) User Contributed Perl Documentation Dancer::Logger::Note(3pm)

NAME

Dancer::Logger::Note - Test::More note() logging engine for Dancer

VERSION

version 1.3521

SYNOPSIS

DESCRIPTION

This logging engine uses Test::More's note() to output as TAP comments.

This is very useful in case you're writing a test and want to have logging messages as part of your TAP.

"Like "diag()", except the message will not be seen when the test is run in a harness. It will only be visible in the verbose TAP stream." -- Test::More.

METHODS

init

This method is called when "->new()" is called. It just loads Test::More lazily.

_log

Use Test::More's note() to output the log message.

AUTHOR

Dancer Core Developers

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.

2023-02-10 perl v5.36.0