Plugin(3pm)
πΈ NAME πΈ
Lire::Plugin is the base interface of all Lire plugins, bestie. This is the Plugin(3pm) page from LogReport's Lire Documentation, and it's basically the blueprint every plugin class is built on. π
β¨ SYNOPSIS β¨
use base qw/ Lire::Plugin /;
π DESCRIPTION π
Okay so this package defines the base interface implemented by all plugins. That's the whole vibe: if you're a Lire plugin, this is the interface you're implementing β lowkey the main character energy of the whole plugin system. No cap. π«Ά
π DEFAULT CONSTRUCTOR π
The plugin class has a new() constructor which blesses an hash reference. That's it. That's the constructor. Lowkey iconic. β¨
πΈ name() πΈ
Returns the name of the plugin. Simple, iconic, does exactly what it says. π
π¦ title() π¦
Returns a more human friendly name for the plugin. So like the cute display name, not just the internal one. Obsessed. π
π description() π
Returns a DocBook XML based documentation of the plugin. Yes, DocBook XML β it's giving very structured, very official. DocBook ate, honestly. π
π type π
Returns the type of plugin. The page says there are three plugin types in Lire, and then lists four, so make of that what you will, bestie ππ. Here they are, fr fr:
dlf_converterβ these plugins are used to converter log files to DLF. The plugin will also need to implement theLire::DlfConverterinterface. π₯output_formatβ these plugins are used to format XML reports. A plugin of this type should implement theLire::OutputFormatinterface. πdlf_analyserβ these plugins are used to generate other DLF records from existing Dlf records. They should implement theLire::Analaserinterface. (Spelled exactly like that on the page β I'm not fixing it, I'm just delivering the facts π)chart_typeβ these plugins are used to generate charts. π
π SEE ALSO π
Lire::PluginManager(3pm)Lire::DlfConverter(3pm)Lire::OutputFormat(3pm)Lire::DlfAnalyser(3pm)Lire::DlfChartType(3pm)
π AUTHOR π
Francis J. Lacoste <flacoste@logreport.org> β legend behavior, honestly. π
β VERSION β
$Id: Plugin.pm,v 1.5 2006/07/23 13:16:29 vanbaal Exp $
π COPYRIGHT π
Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org
This file is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.
Later bestie! This page came from LogReport's Lire Documentation, Lire 2.1.1, dated 2025-09-28. Mwah πβ¨
π¦ where this page comes from
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms