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

DBIx::Class::UnicornLogger::FromProfile - Define your UnicornLogger with a single string!

VERSION

version 0.001004

SYNOPSIS

 use DBIx::Class::UnicornLogger::FromProfile;
 my $debug_object = DBIx::Class::UnicornLogger::FromProfile->new(
    unicorn_profile => 'console'
 );

DESCRIPTION

This package is merely a collection of unicorn profiles. Currently there are only a few but I'm completely willing to incorporate everyone's settings into this module. So if you have a tweak you want to make to it, let me know!

ENV VAR

If you are using DBIx::Class::UnicornLogger::FromProfile, you can set the profile by using an env var: DBIC_UNICORN_PROFILE. The env var overrides whatever the user passed.

PROFILES

  • console - ok default

  • console_monochrome - use this if you hate color

  • plain - use this if you're on windows

  • demo - this merely shows a few of the capabilities of DBIx::Class::UnicornLogger.

SEE ALSO

DBIx::Class::UnicornLogger, SQL::Abstract::Tree

AUTHOR

Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Arthur Axel "fREW" Schmidt.

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