Log::Handler::Plugin::Config::General(3pm)

Log::Handler::Plugin::Config::General3pm

Config loader for config::general.

Usage

    use Log::Handler::Plugin::Config::General;
    my $config = Log::Handler::Plugin::Config::General->get_config( $config_file );

Routines

get_config()

Expect the config file name and returns the config as a reference.

Config style

    <file>
        <mylog>
            fileopen = 1
            reopen = 1
            permissions = 0640
            maxlevel = info
            mode = append
            timeformat = %b %d %H:%M:%S
            debug_mode = 2
            filename = example.log
            minlevel = warn
            message_layout = %T %H[%P] [%L] %S: %m
            newline = 1
        </mylog>
    </file>

Prerequisites

    Config::General

Exports

No exports.

Report bugs

Please report all bugs to <jschulz.cpan(at)bloonix.de>.

If you send me a mail then add Log::Handler into the subject.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9–10
  6. 11
  7. 12–13

Author

Jonny Schulz <jschulz.cpan(at)bloonix.de>.

From liblog-handler-perl 0.90-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.