IVsCommandWindow::LogToFile Method (String^, UInt32)
Visual Studio 2015
Starts logging command-window commands and output to the specified file.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- szLogFile
-
Type:
System::String^
[in] Filename to use for the log.
- grfFlags
-
Type:
System::UInt32
[in] Bit flags indicating logging options. Use values from the LOGTOFILEOPTION enumeration.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsCommandWindow::LogToFile( [in, ref] LPCOLESTR szLogFile, [in] LOGTOFILEOPTIONS grfFlags );
Show: