FusionInventory::Agent::Logger - Fusion Inventory logger
This is the logger object.
The constructor. The following parameters are allowed, as keys of the %params hash:
the agent configuration object, to be passed to backends
a list of backends to use (default: Stderr)
a flag allowing debug messages (default: false)
Add a log message, with a specific level. %params is an hash, with the following keys:
Can be one of:
Add a log message with debug2 level.
Add a log message with debug level.
Add a log message with info level.
Add a log message with error level.
Add a log message with fault level.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.