Log::H...erties(3pm)

πŸ“¦
version 0.90 Β· 5 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 (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