Log Method (format, args)

Microsoft Deployment Tools

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) Version: 3.0.0.0 (3.5.1623.0)