The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

FusionInventory::Agent::Logger::Backend - An abstract logger backend

DESCRIPTION

This is an abstract base classe for logger backends.

METHODS

new(%params)

The constructor. The following parameters are allowed, as keys of the $params hashref:

config

the agent configuration object

addMessage(%params)

Add a log message, with a specific level. The following arguments are allowed:

level

Can be one of:

debug
info
warning
error
message