diff --git a/src/protobuf-net.Grpc.AspNetCore/ServicesExtensions.cs b/src/protobuf-net.Grpc.AspNetCore/ServicesExtensions.cs index 1bc4b79..ecb514c 100644 --- a/src/protobuf-net.Grpc.AspNetCore/ServicesExtensions.cs +++ b/src/protobuf-net.Grpc.AspNetCore/ServicesExtensions.cs @@ -43,7 +43,7 @@ public CodeFirstServiceMethodProvider(ILoggerFactory loggerFactory, BinderConfig void IServiceMethodProvider.OnServiceMethodDiscovery(ServiceMethodProviderContext context) { int count = new Binder(_logger).Bind(context, _binderConfiguration); - if (count != 0) _logger.Log(LogLevel.Information, "RPC services being provided by {0}: {1}", typeof(TService), count); + if (count != 0) _logger.Log(LogLevel.Information, "RPC services being provided by {Service}: {Count}", typeof(TService), count); } } private sealed class Binder : ServerBinder @@ -89,4 +89,4 @@ protected override bool TryBind(ServiceBindContex } } } -} \ No newline at end of file +}