The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MojoX::Log::Fast - Log::Fast for Mojolicious

VERSION

This document describes MojoX::Log::Fast version v1.0.0

SYNOPSIS

    use MojoX::Log::Fast;

    $app->log( MojoX::Log::Fast->new() );

    $app->log->config(...);
    $app->log->ident(...);

DESCRIPTION

This module provides a Mojo::Log implementation that uses Log::Fast as the underlying log mechanism. It provides Log::Fast methods config(), ident() and all Mojo::Log methods except handle(), path() and format().

LOG LEVELS

Mojo::Log's fatal() processed same as error() because Log::Fast doesn't support that log level.

Log::Fast's NOTICE() level not available because Mojo::Log doesn't support that log level.

INTERFACE

new( [$logfast] )

If Log::Fast instance $logfast doesn't provided then Log::Fast->global() will be used by default.

config( @params )
ident( @params )

Proxy these methods with given @params to Log::Fast instance.

handle()
path()

Not compatible with Log::Fast and thus not supported.

format()

Not implemented yet, use much more flexible config() instead.

Let me know if anyone need it.

SUPPORT

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/perl-MojoX-Log-Fast/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.

https://github.com/powerman/perl-MojoX-Log-Fast

    git clone https://github.com/powerman/perl-MojoX-Log-Fast.git

Resources

AUTHOR

Alex Efros <powerman@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013-2015 by Alex Efros <powerman@cpan.org>.

This is free software, licensed under:

  The MIT (X11) License