/**
  * @param string  $ident
  * @param mixed   $facility
  * @param integer $level    The minimum logging level at which this handler will be triggered
  * @param boolean $bubble   Whether the messages that are handled can bubble up the stack or not
  * @param int     $logopts  Option flags for the openlog() call, defaults to LOG_PID
  * @param int     $length   The maximum length to allow for each log message segment
  */
 public function __construct($ident, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $logopts = LOG_PID, $length = 1024)
 {
     if ($length <= $this->identificationLength) {
         throw new \InvalidArgumentException("The maximum message length must be at least greater than the identification length of " . $this->identificationLength, 1);
     }
     parent::__construct($ident, $facility, $level, $bubble, $logopts);
     $this->length = $length;
 }
 public function __construct($level = Logger::DEBUG, $bubble = true, $logopts = LOG_PID)
 {
     parent::__construct('Cloud Foundry', LOG_USER, $level, $bubble, LOG_PID | LOG_PERROR);
 }