Log::H...erties(3pm)
π Log::Handler::Plugin::Config::Properties(3pm) π
okay so bestie, welcome to the Perl docs page for Log::Handler::Plugin::Config::Properties β a lil' plugin that lives in the User Contributed Perl Documentation corner of the internet, and she is here to load your config via Config::Properties. no cap. let's get into it π«Ά
β¨ NAME β¨
Log::Handler::Plugin::Config::Properties β it's a config loader for Config::Properties. that's the whole vibe. literally just that. π
πΈ SYNOPSIS πΈ
use Log::Handler::Plugin::Config::Properties;
my $config = Log::Handler::Plugin::Config::Properties->get_config( $config_file );
see? one use, one call, and you're done. main character energy fr fr. π
π¦ ROUTINES π¦
β get_config()
she wants the config file name handed to her, and she gives you back the config as a reference. that's the deal. π
also important bestie: the configuration here uses full stops "." as a delimiter. that's the separator. remember it. it's giving very-much-on-purpose. β¨
π CONFIG STYLE π
here's what a config file actually looks like β verbatim, don't y'all change a single character:
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
every dot is a delimiter stepping down into your settings β file β mylog β the actual option. obsessed. π
π§ PREREQUISITES π§
Config::Properties
yep, you need that one. no Config::Properties, no party. π
π EXPORTS π
No exports.
like, none. zero. she's not handing anything out. respect honestly. π
π REPORT BUGS π
found a bug? don't be shy, tell Jonny π«Ά β report all of them to:
<jschulz.cpan(at)bloonix.de>
and if you're sending a mail, bestie, please put Log::Handler in the subject line. that's the rule. it's not optional in spirit. π
π AUTHOR π
Jonny Schulz <jschulz.cpan(at)bloonix.de>. iconic. periodt. β¨
πΈ 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.
and that's the whole page, bestie β¨ this was written up against perl v5.36.0, dated 2022-08-28, under the banner of the Perl man pages β mwah, take care of her, she's earned it π
π
π¦ where this page comes from
- ubuntu noble: liblog-handler-perl 0.90-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liblog-handler-perl 0.90-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liblog-handler-perl 0.90-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms