diff options
| author | Felix Ruhnow <felix.ruhnow@gmail.com> | 2019-02-19 12:17:28 +0100 |
|---|---|---|
| committer | Felix Ruhnow <felix.ruhnow@gmail.com> | 2019-02-19 12:17:28 +0100 |
| commit | 53beebc77415d9020bedb385483851e7bb96a929 (patch) | |
| tree | 20f312413aea569443c98895e25032db967d0d38 /MediaBrowser.Api/UserLibrary/ItemsService.cs | |
| parent | ba003e06efd55bc599cbd8c29be6a41b21e3c35e (diff) | |
switching logging to serilog convention according to pr comments
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/ItemsService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/ItemsService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.cs index dfd523fde..ba4e8022c 100644 --- a/MediaBrowser.Api/UserLibrary/ItemsService.cs +++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs @@ -230,7 +230,7 @@ namespace MediaBrowser.Api.UserLibrary if (!user.Policy.EnableAllFolders && !user.Policy.EnabledFolders.Any(i => new Guid(i) == item.Id)) { - Logger.LogWarning($"{user.Name} is not permitted to access Library {item.Name}."); + Logger.LogWarning("{UserName} is not permitted to access Library {ItemName}.", user.Name, item.Name); return new QueryResult<BaseItem> { Items = Array.Empty<BaseItem>(), |
