SYNOPSIS

  In your template:

  [% FOR message IN messages %]
    <div class="alert alert-[% message.bootstrap_color %]">
      [% message.toString | html_entity %]
    </div>
  [% END %]

See SYNOPSIS in Log::Report::Message

DESCRIPTION

[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.

See DESCRIPTION in Log::Report::Message

DETAILS

OPTIONS and VARIABLES

See OPTIONS and VARIABLES in Log::Report::Message

Interpolating

See Interpolating in Log::Report::Message

Interpolation of VARIABLES

See Interpolation of VARIABLES in Log::Report::Message

Interpolation of OPTIONS

See Interpolation of OPTIONS in Log::Report::Message

Handling white-spaces

See Handling white-spaces in Log::Report::Message

Avoiding repetative translations

See Avoiding repetative translations in Log::Report::Message