" for a group, "us-" for a user or -1 for "all users" */ protected string $userOrGroup = '0'; /** * Number of log rows to show */ protected int $number = 20; /** * UID of selected workspace */ protected int $workspaceUid = -99; /** * Selected channel */ protected string $channel = ''; /** * Selected level */ protected string $level = LogLevel::DEBUG; /** * Calculated start timestamp */ protected int $startTimestamp = 0; /** * Calculated end timestamp */ protected int $endTimestamp = 0; /** * Manual date start */ protected ?\DateTime $manualDateStart = null; /** * Manual date stop */ protected ?\DateTime $manualDateStop = null; /** * Selected page ID in page context */ protected int $pageId = 0; /** * Page level depth */ protected int $depth = 0; public function setUserOrGroup(string $user): void { $this->userOrGroup = $user; } public function getUserOrGroup(): string { return $this->userOrGroup; } public function setNumber(int $number): void { $this->number = $number; } public function getNumber(): int { return $this->number; } public function setWorkspaceUid(int $workspace): void { $this->workspaceUid = $workspace; } public function getWorkspaceUid(): int { return $this->workspaceUid; } public function setChannel(string $channel): void { $this->channel = $channel; } public function getChannel(): string { return $this->channel; } public function setLevel(string $level): void { $this->level = $level; } public function getLevel(): string { return $this->level; } public function setStartTimestamp(int $timestamp): void { $this->startTimestamp = $timestamp; } public function getStartTimestamp(): int { return $this->startTimestamp; } public function setEndTimestamp(int $timestamp): void { $this->endTimestamp = $timestamp; } public function getEndTimestamp(): int { return $this->endTimestamp; } public function setPageId(?int $id): void { $this->pageId = $id ?? 0; } public function getPageId(): int { return $this->pageId; } public function setDepth(int $depth): void { $this->depth = $depth; } public function getDepth(): int { return $this->depth; } public function setManualDateStart(?\DateTime $manualDateStart = null): void { $this->manualDateStart = $manualDateStart; } public function getManualDateStart(): ?\DateTime { return $this->manualDateStart; } public function setManualDateStop(?\DateTime $manualDateStop = null): void { $this->manualDateStop = $manualDateStop; } public function getManualDateStop(): ?\DateTime { return $this->manualDateStop; } }