Beispiel #1
0
 /**
  * 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);
 }
Beispiel #2
0
 /**
  * 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();
 }