NAME

PSGI::Hector::Log - Logging class

SYNOPSIS

DESCRIPTION

METHODS

new($options)

        $log = PSGI::Hector::Log->new({
                'debug' => 1
        });

Creates a new instance of the logging class

log($message, $severity)

        $log->log('Just testing', 'info');

Logs the provided string to STDERR with a prefixed severity.

Notes

Author

MacGyveR <dumb@cpan.org>

Development questions, bug reports, and patches are welcome to the above address.

See Also

Copyright

Copyright (c) 2019 MacGyveR. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.