Log.Configure Method (String, TimeSpan, Int64, Int64, Int32, TimeSpan, Boolean)
Namespace: Microsoft.Exchange.Diagnostics
Assembly: Microsoft.Exchange.Diagnostics (in Microsoft.Exchange.Diagnostics.dll)
Syntax
'Declaration
Public Sub Configure ( _
path As String, _
maxAge As TimeSpan, _
maxDirectorySize As Long, _
maxLogFileSize As Long, _
bufferSize As Integer, _
streamFlushInterval As TimeSpan, _
flushToDisk As Boolean _
)
'Usage
Dim instance As Log
Dim path As String
Dim maxAge As TimeSpan
Dim maxDirectorySize As Long
Dim maxLogFileSize As Long
Dim bufferSize As Integer
Dim streamFlushInterval As TimeSpan
Dim flushToDisk As Boolean
instance.Configure(path, maxAge, maxDirectorySize, _
maxLogFileSize, bufferSize, streamFlushInterval, _
flushToDisk)
public void Configure(
string path,
TimeSpan maxAge,
long maxDirectorySize,
long maxLogFileSize,
int bufferSize,
TimeSpan streamFlushInterval,
bool flushToDisk
)
Parameters
- path
Type: System.String
- maxAge
Type: System.TimeSpan
- maxDirectorySize
Type: System.Int64
- maxLogFileSize
Type: System.Int64
- bufferSize
Type: System.Int32
- streamFlushInterval
Type: System.TimeSpan
- flushToDisk
Type: System.Boolean
See Also