logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Markdent::Role::DebugPrinter - A role for classes which output debugging information

Attributes

       This roles provides the following attributes:

   debug
       This is a read-write boolean attribute.

       It defaults to the value of $ENV{MARKDENT_DEBUG}, if set, or 0.

Author

       Dave Rolsky <autarch@urth.org>

Bugs

       See Markdent for bug reporting details.

       Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.

       I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".

Description

       This role implements behavior shared by all classes which output debugging information.

Methods

       This roles provides the following methods:

   $object->_debug_parse_result($text,$type,$extra)
       This method takes a text string, a parse result string (like "preformatted" or "code_start"), and an
       optional array reference of extra key/value pairs.

       All of this will be concatenated together in a pretty(-ish) way and passed to "$object->_print_debug".

   $object->_print_debug($text)
       This warns out the provided text along with a delimiter above the message.

Name

       Markdent::Role::DebugPrinter - A role for classes which output debugging information

Source

       The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.

Version

       version 0.40

See Also