Catalyst::Plugin::Log::Dispatch(3pm)

Catalyst::Plugin::Log::Dispatch3pm

Log module of catalyst that uses log::dispatch

Usage

    package MyApp;
    use Catalyst qw/Log::Dispatch/;

configuration in source code

    MyApp->config->{ Log::Dispatch } = [
        {
         class     => 'File',
         name      => 'file',
         min_level => 'debug',
         filename  => MyApp->path_to('debug.log'),
         format    => '[%p] %m %n',
        }];

in myapp.yml

    Log::Dispatch:
     - class: File
       name: file
       min_level: debug
       filename: __path_to(debug.log)__
       mode: append
       format: '[%p] %m %n'

If you use Catalyst::Plugin::ConfigLoader, please load this module after Catalyst::Plugin::ConfigLoader.

Version

This document describes Catalyst::Plugin::Log::Dispatch version 2.15

Overview

Catalyst::Plugin::Log::Dispatch is a plugin to use Log::Dispatch from Catalyst.

Configuration

It is same as the configuration of Log::Dispatch excluding "class" and "format".

class

The class name to Log::Dispatch::* object. Please specify the name just after "Log::Dispatch::" of the class name.

format

It is the same as the format option of Log::Dispatch::Config.

Dependencies

Catalyst, Log::Dispatch, Log::Dispatch::Config

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7–8
  2. 9–10
  3. 11
  4. 12–13

Author

Shota Takayama "<shot[at]bindstorm.jp>"

From libcatalyst-plugin-log-dispatch-perl 0.121-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.