mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-13 07:17:53 +02:00
TrangaTask.ToString() rewrite for logs-readability.
LogMessages only include class-name without path
This commit is contained in:
@ -56,6 +56,6 @@ public class TrangaTask
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{task,-20} | {lastExecuted,-20} | {reoccurrence,-12} | {state,-10} | {connectorName,-15} | {publication?.sortName}";
|
||||
return $"{task}, {lastExecuted}, {reoccurrence}, {state} {(connectorName is not null ? $", {connectorName}" : "" )} {(publication is not null ? $", {publication?.sortName}": "")}";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user