public void SetLogFile(
string LogFileName,
string LogFileType
)Public Sub SetLogFile (
LogFileName As String,
LogFileType As String
)public:
virtual void SetLogFile(
String^ LogFileName,
String^ LogFileType
) sealedNote This command is only required if the trace logger constructor is called with no parameters. It is provided for use in COM clients that can not call constructors with parameters. If you are writing a COM client then create the trace logger as:
TL = New TraceLogger()
TL.SetLogFile("","TraceName")
If you are writing a .NET client then you can achieve the same end in one call:
TL = New TraceLogger("",TraceName")