Interfaces/ZUGFeRD: log filesize with unit
This commit is contained in:
parent
94207ebe45
commit
847c7575c4
@ -34,7 +34,7 @@ Public Class PDFEmbeds
|
|||||||
oFileInfo = New FileInfo(FilePath)
|
oFileInfo = New FileInfo(FilePath)
|
||||||
|
|
||||||
Logger.Debug("Filename: {0}", oFileInfo.Name)
|
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)
|
Logger.Debug("Exists: {0}", oFileInfo.Exists)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Warn("File information for [{0}] could not be read!", FilePath)
|
Logger.Warn("File information for [{0}] could not be read!", FilePath)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user