We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50df89b commit f94ad6fCopy full SHA for f94ad6f
1 file changed
test/UnitTestTcpSocket/SocketLoggingTest.cs
@@ -3,6 +3,7 @@
3
// Website: https://www.blazor.zone or https://argozhang.github.io/
4
5
using BootstrapBlazor.Socket.Logging;
6
+using Microsoft.Extensions.Logging;
7
8
namespace UnitTestTcpSocket;
9
@@ -12,5 +13,13 @@ public class SocketLoggingTest
12
13
public void Logger_Ok()
14
{
15
SocketLogging.LogError(new Exception());
16
+ SocketLogging.LogInformation("Information");
17
+ SocketLogging.LogWarning("Warning");
18
+ SocketLogging.LogDebug("Debug");
19
+
20
+ SocketLogging.Init(new LoggerFactory().CreateLogger("SocketLoggingTest"));
21
22
23
24
}
25
0 commit comments