PHP Class Ergo\Logging\LoggerMultiplexer

Author: Lachlan Donald ([email protected])
Inheritance: extends Psr\Log\AbstractLogger, implements Ergo\Logging\CompositeLogger
显示文件 Open project: 99designs/ergo Class Usage Examples

Public Methods

Method Description
__call ( $method, $params ) Calls any method on loggers
__construct ( $loggers = [] ) Constructor
addLoggers ( $loggers ) * (non-phpdoc)
clearLoggers ( ) * (non-phpdoc)
log ( $level, $message, array $context = [] ) * (non-phpdoc)

Method Details

__call() public method

Calls any method on loggers
public __call ( $method, $params )

__construct() public method

Constructor
public __construct ( $loggers = [] )

addLoggers() public method

* (non-phpdoc)
See also: CompositeLogger::addLoggers()
public addLoggers ( $loggers )

clearLoggers() public method

* (non-phpdoc)
See also: CompositeLogger::clearLoggers()
public clearLoggers ( )

log() public method

* (non-phpdoc)
See also: Psr\Log\LoggerInterface::log()
public log ( $level, $message, array $context = [] )
$context array