Interfaces/ZUGFeRD: log filesize with unit

This commit is contained in:
Jonathan Jenne 2021-08-23 13:40:21 +02:00
parent 94207ebe45
commit 847c7575c4

View File

@ -34,7 +34,7 @@ Public Class PDFEmbeds
oFileInfo = New FileInfo(FilePath)
Logger.Debug("Filename: {0}", oFileInfo.Name)
Logger.Debug("Filesize: {0}", oFileInfo.Length)
Logger.Debug("Filesize: {0} bytes", oFileInfo.Length)
Logger.Debug("Exists: {0}", oFileInfo.Exists)
Catch ex As Exception
Logger.Warn("File information for [{0}] could not be read!", FilePath)