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

reload()

Used to reload a logger