FusionInventory::Agent::Logger - FusionInventory logger
This is the logger object.
As this object will mostly be instanciated one time, logger configuration is stored at the package level. So if you create a new object but without config, it will re-use the saved configuration.
The constructor. The following parameters are allowed, as keys of the %params hash:
the agent configuration object, to pass debug level and backends parameters
a list of backends to use (default: Stderr)
the verbosity level (default: LOG_INFO)
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 warning level.
Add a log message with error level.
Add a log message with debug level related to an action result.
Get current logger debug 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.