Monito...::Logs(3pm)

πŸ“¦
version 0.46 Β· 2 versions
, in ubuntu jammy

✨ NAME ✨

Monitoring::Availability::Logs β€” Load/Store/Access Logfiles πŸ’–

Like, it's the logfile girlie of the Monitoring::Availability universe. She loads them, she stores them, she lets you poke at them. Main character behaviour, honestly.


πŸŽ€ DESCRIPTION πŸŽ€

Okay so bestie, picture this: it's a store for logfiles. That's it. That's the whole vibe. It holds your logs so you don't have to rawdog the filesystem every time. πŸ’…

🌸 new ( [ARGS] )

Creates a Monitoring::Availability::Log object. (Yes, singular. She's one object. She contains multitudes.) Pass her your ARGS if you have any, or don't, she's flexible like that. ✨


πŸ¦‹ METHODS πŸ¦‹

πŸ’œ get_logs

get_logs()

Returns all read logs as an array of hashrefs. So you get a whole lil list, and every entry in that list is a hashref. Iconic. Obsessed. No cap.

πŸ“ parse_line

parse_line($line)

Hand it a $line, it hands you back a parsed logfile line. Give and take, bestie. That's the whole relationship. πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Sven Nierlein, <nierlein@cpan.org> β€” shoutout to the legend fr fr πŸ™Œ


Copyright (C) 2010 by Sven Nierlein

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

So like, go off, remix it, share it, whatever β€” same rules as Perl itself, periodt. πŸ’…

And that's the tea, bestie 🫢 this lil doc came to you via perl v5.20.1, dated 2014-10-25, under the Monito...::Logs(3pm) title. Slay, bye! πŸ’–βœ¨

πŸ“¦ where this page comes from