Skip to content

Commit fa54188

Browse files
committed
refactor: add logging for NodeLocator
1 parent a34b103 commit fa54188

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Enyim.Caching/Configuration/MemcachedClientConfiguration.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public MemcachedClientConfiguration(
145145
else if (keyTransformer != null)
146146
{
147147
_keyTransformer = keyTransformer;
148-
_logger.LogDebug($"Use KeyTransformer Type : '{keyTransformer.ToString()}'");
148+
_logger.LogDebug($"Use KeyTransformer Type : '{keyTransformer}'");
149149
}
150150

151151
if (NodeLocator == null)
@@ -158,6 +158,8 @@ public MemcachedClientConfiguration(
158158
{
159159
NodeLocator = typeof(SingleNodeLocator);
160160
}
161+
162+
_logger.LogDebug($"Use NodeLocator: {NodeLocator}");
161163
}
162164

163165
if (!string.IsNullOrEmpty(options.Transcoder))

0 commit comments

Comments
 (0)