/** * The constructor signature will be * @param string $name The Name of this Appender * @param string $target The Logging Target for this Appender * @param array $context Any additional information for this Appender */ public function __construct($name = '', $target = '', array $context = []) { parent::__construct($name, $target, $context); }
/** * Constructor * * @param string $name This appenders name * @param string $target The API Host * @param array $context Extra information for the appender */ public function __construct($name = '', $target, array $context = []) { $this->apiHost = $target; parent::__construct($name, $target, $context); $this->getClient(); }