Added multiline parsing
This commit is contained in:
@ -1,7 +1,30 @@
|
||||
<?php
|
||||
namespace ProVM\Common\Define;
|
||||
|
||||
use DateTimeInterface;
|
||||
|
||||
interface Log
|
||||
{
|
||||
public function getOriginal(): string;
|
||||
public function getDate(): DateTimeInterface;
|
||||
public function getChannel(): string;
|
||||
public function getSeverity(): string;
|
||||
public function getMessage(): string;
|
||||
public function getStack(): array;
|
||||
public function getContext(): string;
|
||||
public function getExtra(): string;
|
||||
|
||||
public function setOriginal(string $original): Log;
|
||||
public function setDate(DateTimeInterface $dateTime): Log;
|
||||
public function setChannel(string $channel): Log;
|
||||
public function setSeverity(string $severity): Log;
|
||||
public function setMessage(string $message): Log;
|
||||
public function setStack(array $stack): Log;
|
||||
public function setContext(string $context): Log;
|
||||
public function setExtra(string $extra): Log;
|
||||
|
||||
public function parsed(): bool;
|
||||
|
||||
public function hasStack(): bool;
|
||||
public function hasContext(): bool;
|
||||
}
|
||||
|
Reference in New Issue
Block a user