public function __construct($type = '', $pid = '', $destination = '', $origin = '', $message = '', $exception = '', $timestamp = 0)
{
$this->type = $type;
$this->pid = $pid;
$this->destination = $destination;
$this->origin = $origin;
$this->message = $message;
$this->exception = $exception;
$this->timestamp = $timestamp;
}