Jonny Schulz > Log-Handler-0.84 > Log::Handler::Plugin::Config::Properties

Download:
Log-Handler-0.84.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Log::Handler::Plugin::Config::Properties - Config loader for Config::Properties.

SYNOPSIS ^

    use Log::Handler::Plugin::Config::Properties;

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

ROUTINES ^

get_config()

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

The configuration uses full stops "." as a delimiter.

CONFIG STYLE ^

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

PREREQUISITES ^

    Config::Properties

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.

AUTHOR ^

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

COPYRIGHT ^

Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved.

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

syntax highlighting: