Skip to content

Commit 016c05d

Browse files
author
lampenlampen
authored
Enhance log statements (#434)
* include DriveType
1 parent 62a0886 commit 016c05d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Files/Filesystem/Drives.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private async void DeviceAdded(DeviceWatcher sender, DeviceInformation args)
8787
Visibility.Visible,
8888
type);
8989

90-
Logger.Info($"Drive added: {driveItem.tag}");
90+
Logger.Info($"Drive added: {driveItem.tag}, {driveItem.Type}");
9191

9292
// Update the collection on the ui-thread.
9393
try
@@ -193,7 +193,7 @@ private void GetDrives(IList<DriveItem> list)
193193
Visibility.Visible,
194194
type);
195195

196-
Logger.Info($"Drive added: {driveItem.tag}");
196+
Logger.Info($"Drive added: {driveItem.tag}, {driveItem.Type}");
197197

198198
list.Add(driveItem);
199199
}

0 commit comments

Comments
 (0)