@@ -45,12 +45,12 @@ public IEnumerable<ISteamLibrary> FindLibraries(IDirectoryInfo steamInstallDir)
4545
4646 private bool TryCreateLibraryFromLocation ( IDirectoryInfo libraryLocation , bool isDefault , [ NotNullWhen ( true ) ] out SteamLibrary ? library )
4747 {
48- _logger ? . LogTrace ( $ "Try creating steam library from location '{ libraryLocation . FullName } '") ;
48+ _logger ? . LogTrace ( "Try creating steam library from location '{Library }'" , libraryLocation . FullName ) ;
4949 library = null ;
5050
5151 if ( ! libraryLocation . Exists )
5252 {
53- _logger ? . LogTrace ( $ "Steam library location '{ libraryLocation . FullName } ' does not exist. Library not created.") ;
53+ _logger ? . LogTrace ( "Steam library location '{Library }' does not exist. Library not created." , libraryLocation . FullName ) ;
5454 return false ;
5555 }
5656
@@ -59,7 +59,7 @@ private bool TryCreateLibraryFromLocation(IDirectoryInfo libraryLocation, bool i
5959 var steamDll = _fileSystem . Path . Combine ( libraryLocation . FullName , SteamDllFileName ) ;
6060 if ( ! _fileSystem . File . Exists ( steamDll ) )
6161 {
62- _logger ? . LogTrace ( $ "Steam library location '{ libraryLocation . FullName } ' does not contain 'steam.dll'. Library not created.") ;
62+ _logger ? . LogTrace ( "Steam library location '{Library }' does not contain 'steam.dll'. Library not created." , libraryLocation . FullName ) ;
6363 return false ;
6464 }
6565 }
@@ -75,7 +75,7 @@ private bool TryCreateLibraryFromLocation(IDirectoryInfo libraryLocation, bool i
7575 var libraryVdf = _fileSystem . Path . Combine ( libraryLocation . FullName , libraryVdfSubPath , libraryVdfName ) ;
7676 if ( ! _fileSystem . File . Exists ( libraryVdf ) )
7777 {
78- _logger ? . LogTrace ( $ "Steam library VDF file '{ libraryVdf } ' was not found. Library not created.") ;
78+ _logger ? . LogTrace ( "Steam library VDF file '{Library }' was not found. Library not created." , libraryVdf ) ;
7979 return false ;
8080 }
8181
0 commit comments