Octopus...Loglevel(3)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ’– Octopus...Loglevel(3) πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation (yes, the perl v5.22.2 era, we love a vintage moment πŸŽ€) and it's all about Octopussy::Loglevel β€” the Octopussy Loglevel module. she's small, she's focused, she does loglevel things. let's get into it ✨


🌸 NAME 🌸

Octopussy::Loglevel β€” the Octopussy Loglevel module. that's her. that's the whole identity. πŸ’…


πŸ¦‹ FUNCTIONS πŸ¦‹

here's the roster, no skips, no cuts, every single one of them:

List(\@dev_list, \@serv_list)

gives you back the list of loglevel entries. that's it, that's the job. hand her your \@dev_list and your \@serv_list and she hands you the list. 🫢

List_And_Any(\@dev_list, \@serv_list)

same energy as List, but with a lil bonus: you get the list of loglevel entries and '-ANY-' too. because sometimes you want the whole menu, yk? 🌈

String_List($devices, $services)

returns the Loglevel List as a string, and the format is literally like 'Loglevel list: <loglevel_list>'. yes, exactly like that, character for character. it's giving "I made a string and I'm proud of it". πŸ’œ

Unknowns(@loglevels)

takes your @loglevels list and returns the list of Unknown Loglevels hiding in there. like a vibe check for your loglevels β€” if one of them doesn't belong, she'll point at it. πŸ”₯

Colors()

just... Colors(). she takes no args in the signature and the manpage gives no description. iconic behavior honestly. no notes. ⭐

Levels()

same situation bestie β€” Levels(), no args, no description on the page. mysterious, lowkey main character energy. πŸ‘‘

Valid_Name($name)

this one checks that '$name' is valid for an Alert name. so if you're wondering "is this a good Alert name or am I about to cause problems", ask her first. πŸ™ˆ


✨ AUTHOR ✨

Sebastien Thebert <octo.devel@gmail.com> πŸ’Œ


fr fr, that's the whole page. short, sweet, and every function accounted for. no gatekeeping here. πŸ“

and that's a wrap, bestie β€” this page was cooked up for perl v5.22.2 and dated 2016-05-04. sending u off with that timestamp and a lil sparkle βœ¨πŸ§šπŸ’–

πŸ“¦ where this page comes from