File: Logger.pm

package info (click to toggle)
libcatalyst-authentication-credential-authen-simple-perl 0.09-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 228 kB
  • ctags: 26
  • sloc: perl: 305; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package Authen::Simple::Logger;

use strict;
use warnings;
use base 'Authen::Simple::Adapter';

sub check {
    my ( $self, $username, $password ) = @_;
    
    $self->log->debug('just calling');
    $self->log->info('just calling');
    $self->log->error('just calling');
    $self->log->warn('just calling');
    
    return ($username eq $password);
}
1;