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

25 lines
418 B
Perl

package Lemonldap::NG::Common::PSGI::Constants;
use strict;
use Exporter 'import';
use base qw(Exporter);
our $VERSION = '2.1.0';
# CONSTANTS
use constant {
DEBUG => 4,
INFO => 3,
WARN => 2,
NOTICE => 1,
ERROR => 0,
};
our %EXPORT_TAGS = ( 'all' => [qw(DEBUG INFO WARN ERROR $no)] );
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
our @EXPORT = ( @{ $EXPORT_TAGS{'all'} } );
1;