-
This commit is contained in:
parent
2c6275fb44
commit
499adf4b08
@ -14,8 +14,8 @@ class SynologySSLog extends Log
|
|||||||
{
|
{
|
||||||
public static string $name = 'SynologySS';
|
public static string $name = 'SynologySS';
|
||||||
//public static string $regex = '/^\[(?P<datetime>[^\]]+)\] (?P<environment>\S+)\.(?P<level>\S+): ?(\|(?<pid>\S+)\|)? (?P<message>.*)? (\{(?<data>\S+)\}) ?(\[(?<extra>\S+|)\])?/';
|
//public static string $regex = '/^\[(?P<datetime>[^\]]+)\] (?P<environment>\S+)\.(?P<level>\S+): ?(\|(?<pid>\S+)\|)? (?P<message>.*)? (\{(?<data>\S+)\}) ?(\[(?<extra>\S+|)\])?/';
|
||||||
public static string $regex = '/^\[(?P<datetime>[^\]]+)\] (?P<environment>\S+)\.(?P<level>\S+): ?(\|(?<pid>\S+)\|)? ?(\((?<class>\S+)\))? (?P<message>.*)? ((?<data>(\{\S+\})|(\[\]))) ((?<extra>(\{\S+\})|(\[\])))/';
|
//public static string $regex = '/^\[(?P<datetime>[^\]]+)\] (?P<environment>\S+)\.(?P<level>\S+): ?(\|(?<pid>\S+)\|)? ?(\((?<class>\S+)\))? (?P<message>.*)? ((?<data>(\{\S+\})|(\[\]))) ((?<extra>(\{\S+\})|(\[\])))/';
|
||||||
|
public static string $regex = '/^\[(?P<datetime>[^\]]+)\] (?P<environment>\S+)\.(?P<level>\S+): ?(\|(?<pid>\S+)\|)? ?(\((?<class>\S+)\))? (?P<message>.*)? ((?<data>(\{.*\})|(\[.*\]))) ((?<extra>(\{\S+\})|(\[\])))/';
|
||||||
/** @var array|\string[][] The columns displayed on the frontend, and which data they should display */
|
/** @var array|\string[][] The columns displayed on the frontend, and which data they should display */
|
||||||
public static array $columns = [
|
public static array $columns = [
|
||||||
['label' => 'Datetime', 'data_path' => 'datetime'],
|
['label' => 'Datetime', 'data_path' => 'datetime'],
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user