change placeholder text in LogDebug message

pull/7732/head
Luke Brown 2 years ago
parent 044ff0542b
commit 3e8fe1ce11

@ -381,7 +381,7 @@ namespace MediaBrowser.Controller.Session
{
if (controller is IDisposable disposable)
{
_logger.LogDebug("Disposing session controller synchronously {0}", disposable.GetType().Name);
_logger.LogDebug("Disposing session controller synchronously {TypeName}", disposable.GetType().Name);
disposable.Dispose();
}
}
@ -399,7 +399,7 @@ namespace MediaBrowser.Controller.Session
{
if (controller is IAsyncDisposable disposableAsync)
{
_logger.LogDebug("Disposing session controller asynchronously {0}", disposableAsync.GetType().Name);
_logger.LogDebug("Disposing session controller asynchronously {TypeName}", disposableAsync.GetType().Name);
await disposableAsync.DisposeAsync().ConfigureAwait(false);
}
}

Loading…
Cancel
Save