| App-Hachero documentation | view source | Contained in the App-Hachero distribution. |
App::Hachero - a plaggable log analyzing framework
% hachero.pl -c config.yaml
Hachero is plaggable log analyzing framework. You can make your own plugin to analyze log in your way. Plagger style configuration file makes it easy to run your analyzer in different environments.
You can set work_path and plugin_path configuration in the global section. Put your plugin in the plugin_path.
---
global:
log:
level: error
work_path: /path/to/work_path
plugin_path: /path/to/plugin_path
plugins:
- module: Input::Stdin
See Class::Component::Component::Plaggerize for more informations.
See Class::Component::Plugin and App::Hachero::Plugin::Base for implementation informations.
instanciates App::Hachero application. you can pass config in Plagger style.
setups work directory.
runs the application.
returns context object of the application.
cleanups previous line and calls 'input' hook to input new line.
runs specified hook and checks whether currentline exists. returns 1 if currentline exists.
returns plugin modules in plugin_path for Class::Component.
Takaaki Mizuno <cpan@takaaki.info>
Nobuo Danjou <nobuo.danjou@gmail.com>
Class::Component::Component::Plaggerize
Class::Component::Component::DisableDynamicPlugin
svn co http://svn.coderepos.org/share/lang/perl/App-Hachero/trunk hachero
The svn repository of this module is hosted at http://coderepos.org/share/. Patches and commits are welcome.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| App-Hachero documentation | view source | Contained in the App-Hachero distribution. |