Log Method (format, args)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Log Method (format, args)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSessionLog(String, array<Object>[]()[][])
Writes a formatted message to the log, if logging is enabled.
Declaration Syntax
C# Visual Basic Visual C++
public void Log(
	string format,
	params Object[] args
)
Public Sub Log ( 
	format As String,
	ParamArray args As Object()
)
public:
void Log(
	String^ format, 
	... array<Object^>^ args
)
Parameters
format (String)
The line to be written to the log, containing 0 or more format specifiers
args (array<Object>[]()[][])
An array containing 0 or more objects to be formatted
Remarks

Win32 MSI API: MsiProcessMessage

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)