Debian Codegraph @

lemonldap-ng-common/lib/Lemonldap/NG/Common/PSGI/Constants.pm

raw
1 package Lemonldap::NG::Common::PSGI::Constants;
2
3 use strict;
4 use Exporter 'import';
5
6 use base qw(Exporter);
7 our $VERSION = '2.0.0';
8
9 # CONSTANTS
10
11 use constant {
12 DEBUG => 4,
13 INFO => 3,
14 WARN => 2,
15 NOTICE => 1,
16 ERROR => 0,
17 };
18
19 our %EXPORT_TAGS = ( 'all' => [qw(DEBUG INFO WARN ERROR $no)] );
20 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
21 our @EXPORT = ( @{ $EXPORT_TAGS{'all'} } );
22
23 1;
24