++ed by:

1 non-PAUSE user(s).

MATSUNO★…Tokuhiro
and 3 contributors

NAME

Web::ChromeLogger::Null - Dummy of Web::ChromeLogger

SYNOPSIS

    use Web::ChromeLogger::Null;

    get '/', sub {
        my $logger = Web::ChromeLogger::Null->new();
        $logger->info('hey!'); # NOP

        my $html = render_html();

        return [
            200,
            ['X-ChromeLogger-Data' => $logger->finalize()], # Throw exception
            $html,
        ];
    };

DESCRIPTION

Web::ChromeLogger::Null is a dummy of Web::ChromeLogger.

This class provides methods that don't work anything.

METHODS

my $logger = Web::ChromeLogger::Null->new()

Returns instance of Web::ChromeLogger::Null.

$logger->finalize()

Always throws exception.

And other provided methods are the same as Web::ChromeLogger, but they don't work anything.

SEE ALSO

Web::ChromeLogger

LICENSE

Copyright (C) Tokuhiro Matsuno.

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