Enable file logging to the specified fileName under the specified log directory
Namespace: Com.Tibco.As.SpaceAssembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.1.0.0 (2.1)
Syntax
C# |
---|
[ObsoleteAttribute("Use setFileLogging with DirectoryInfo as first argument")] public static void SetFileLogging( string logDir, string fileName, LogLevel level ) |
Visual Basic |
---|
<ObsoleteAttribute("Use setFileLogging with DirectoryInfo as first argument")> _ Public Shared Sub SetFileLogging ( _ logDir As String, _ fileName As String, _ level As LogLevel _ ) |
Visual C++ |
---|
public: [ObsoleteAttribute(L"Use setFileLogging with DirectoryInfo as first argument")] static void SetFileLogging( String^ logDir, String^ fileName, LogLevel level ) |
Parameters
- logDir
- Type: System..::..String
The log directory.
- fileName
- Type: System..::..String
Name of the file.
- level
- Type: Com.Tibco.As.Space..::..LogLevel
The level.