PHP Class LdapTools\Log\LoggerChain

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\Log\LdapLoggerInterface
Show file Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$loggers LdapTools\Log\LdapLoggerInterface[]

Public Methods

Method Description
addLogger ( LdapTools\Log\LdapLoggerInterface $logger ) Add a logger to the chain to be executed.
end ( LogOperation $operation ) The end of a logging operation. Initiated on each logger in the chain.
start ( LogOperation $operation ) The start of a logging operation. Initiated on each logger in the chain.

Method Details

addLogger() public method

Add a logger to the chain to be executed.
public addLogger ( LdapTools\Log\LdapLoggerInterface $logger )
$logger LdapTools\Log\LdapLoggerInterface

end() public method

The end of a logging operation. Initiated on each logger in the chain.
public end ( LogOperation $operation )
$operation LogOperation

start() public method

The start of a logging operation. Initiated on each logger in the chain.
public start ( LogOperation $operation )
$operation LogOperation

Property Details

$loggers protected property

protected LdapLoggerInterface[],LdapTools\Log $loggers
return LdapTools\Log\LdapLoggerInterface[]