修改日志文本
This commit is contained in:
parent
1f7dbb64b1
commit
05ce4442ce
@ -54,19 +54,7 @@ namespace FastGithub.Scanner
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return new Github(
|
||||
this.Domain,
|
||||
this.Address,
|
||||
this.History.AvailableRate,
|
||||
this.History.AvgElapsed.TotalSeconds
|
||||
).ToString();
|
||||
return $"{this.Domain} {{Address={this.Address}, AvailableRate={this.History.AvailableRate}, AvgElapsed={this.History.AvgElapsed}}}";
|
||||
}
|
||||
|
||||
private record Github(
|
||||
string Domain,
|
||||
IPAddress Address,
|
||||
double AvailableRate,
|
||||
double AvgElapsed);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user