Skip to content

Commit 008af4b

Browse files
committed
modify log format
1 parent 7b62f8e commit 008af4b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

WeChatBot.Net/Helper/HttpClientContainer.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ public class HttpClientContainer
1515
static HttpClientContainer()
1616
{
1717
FlurlClient = new FlurlClient()
18-
{
19-
AutoDispose = false
20-
}
18+
{
19+
AutoDispose = false
20+
}
2121
.EnableCookies()
2222
.ConfigureClient(x =>
2323
{
2424
x.AfterCall = call =>
2525
{
26-
Logger.Info($@" call.Duration: {call.Duration}ms");
26+
Logger.Info($@"Call.Duration: {call.Duration?.TotalMilliseconds}ms");
2727
};
2828
x.HttpClientFactory = new CustomHttpClientFactory();
2929
})

WeChatBot.Net/Util/ConsoleWriter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace WeChatBot.Net.Util
77
{
88
public class ConsoleWriter
99
{
10-
private const string Black = "¨€";
10+
private const string Black = "¡ö";
1111
private const string White = "¡¡";
1212

1313
/// <summary>

0 commit comments

Comments
 (0)