Enable file logging to the specified fileName under the specified log directory

Namespace: Com.Tibco.As.Space
Assembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.1.0.0 (2.1)

Syntax

C#
public static void SetFileLogging(
	DirectoryInfo logDir,
	string fileName,
	LogLevel level
)
Visual Basic
Public Shared Sub SetFileLogging ( _
	logDir As DirectoryInfo, _
	fileName As String, _
	level As LogLevel _
)
Visual C++
public:
static void SetFileLogging(
	DirectoryInfo^ logDir, 
	String^ fileName, 
	LogLevel level
)

Parameters

logDir
Type: System.IO..::..DirectoryInfo
The log directory.
fileName
Type: System..::..String
Name of the file.
level
Type: Com.Tibco.As.Space..::..LogLevel
The level.

See Also