Skip to content

Commit

Permalink
[Host.Serialization] Introduce multi-targeting for net8, net6 and net…
Browse files Browse the repository at this point in the history
…standard #211

Signed-off-by: Tomasz Maruszak <[email protected]>
  • Loading branch information
zarusz committed Feb 4, 2024
1 parent 77282f6 commit 813734e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlimMessageBus.Host.Kafka/KafkaMessageBus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ protected byte[] GetMessageKey(ProducerSettings producerSettings, Type messageTy

if (_logger.IsEnabled(LogLevel.Debug))
{
_logger.LogDebug("The message {Message} type {MessageType} calculated key is {Key} (Base64)", message, messageType.Name, Convert.ToBase64String(key));
_logger.LogDebug("The message {Message} type {MessageType} calculated key is {Key} (Base64)", message, messageType?.Name, Convert.ToBase64String(key));
}

return key;
Expand Down

0 comments on commit 813734e

Please sign in to comment.