Skip to content

Commit 52b86d5

Browse files
committed
add logger for compact tests
1 parent 786b46b commit 52b86d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Hazelcast.Net.Tests/Serialization/Compact/RemoteToObjectFirstTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
using Hazelcast.Serialization.Compact;
2020
using Hazelcast.Testing;
2121
using Hazelcast.Testing.Conditions;
22+
using Microsoft.Extensions.Logging;
2223
using NUnit.Framework;
24+
using LogLevel = Microsoft.Extensions.Logging.LogLevel;
2325

2426
namespace Hazelcast.Tests.Serialization.Compact
2527
{
@@ -73,6 +75,8 @@ private HazelcastOptions GetHazelcastOptions()
7375
{
7476
options.ClusterName = RcCluster?.Id ?? options.ClusterName;
7577
options.Networking.Addresses.Add("127.0.0.1:5701");
78+
options.LoggerFactory.Creator = () => Microsoft.Extensions.Logging.LoggerFactory
79+
.Create(conf => conf.AddConsole().SetMinimumLevel(LogLevel.Debug));
7680
})
7781
.Build();
7882

0 commit comments

Comments
 (0)