| 1 | package Dancer2::Plugin::LogContextualWarn; | ||
| 2 | |||
| 3 | 1 | ▶ | use strictures 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | ▶ | use Dancer2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use Dancer2::Plugin; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | ▶ | use Dancer2::Plugin::AppRole::Helper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | our $VERSION = '1.152121'; # VERSION | |
| 11 | |||
| 12 | # ABSTRACT: force all warns in a Dancer2 plack app to log_warn | ||
| 13 | |||
| 14 | # | ||
| 15 | # This file is part of Dancer2-Plugin-LogContextual | ||
| 16 | # | ||
| 17 | # | ||
| 18 | # Christian Walde has dedicated the work to the Commons by waiving all of his | ||
| 19 | # or her rights to the work worldwide under copyright law and all related or | ||
| 20 | # neighboring legal rights he or she had in the work, to the extent allowable by | ||
| 21 | # law. | ||
| 22 | # | ||
| 23 | # Works under CC0 do not require attribution. When citing the work, you should | ||
| 24 | # not imply endorsement by the author. | ||
| 25 | # | ||
| 26 | |||
| 27 | |||
| 28 | 0 | ▶ | on_plugin_import { ensure_approle_s LogContextualWarn => @_ }; |
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||
| 29 | |||
| 30 | 1 | register_plugin; | |
| 31 | |||
| 32 | 1 | 1; | |
| 33 | |||
| 34 | __END__ | ||