Skip to content

Commit b9fa9cf

Browse files
committed
日志内容最后一行不换行
1 parent ad50d15 commit b9fa9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebApiClient/Attributes/FilterAttributes/TraceFilterAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public async override Task OnEndRequestAsync(ApiActionContext context)
8181

8282
var message = builder
8383
.AppendLine()
84-
.AppendLine($"[TIMESPAN] {DateTime.Now.Subtract(request.Time)}")
84+
.Append($"[TIMESPAN] {DateTime.Now.Subtract(request.Time)}")
8585
.ToString();
8686

8787
var method = context.ApiActionDescriptor.Member;

0 commit comments

Comments
 (0)