Log Method (format, args)

DTF API

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++ F#
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
)
member Log : 
        format : string * 
        args : Object[] -> unit 
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.11.1.2318)