vcsjones / AzureSignTool

SignTool Library and Azure Key Vault Support
MIT License
272 stars 87 forks source link

Log path of file being signed to the console. #145

Closed twaalewijn closed 2 years ago

twaalewijn commented 2 years ago

Enable logging of scopes to the console.

The path of the file being signed is included as a logging scope but is currently not being written to the console because IncludeScopes is false.

Before:

info: AzureSignTool.SignCommand[0]
      Signing file.
info: AzureSignTool.SignCommand[0]
      Signing completed successfully.
info: AzureSignTool.SignCommand[0]
      Successful operations: 1
info: AzureSignTool.SignCommand[0]
      Failed operations: 0

After:

info: AzureSignTool.SignCommand[0]
      => File: D:\signtest\test.exe
      Signing file.
info: AzureSignTool.SignCommand[0]
      => File: D:\signtest\test.exe
      Signing completed successfully.
info: AzureSignTool.SignCommand[0]
      Successful operations: 1
info: AzureSignTool.SignCommand[0]
      Failed operations: 0
vcsjones commented 2 years ago

Neat! Thank you.