Log Constructor (String, LogHeaderFormatter, String, Boolean)
Namespace: Microsoft.Exchange.Diagnostics
Assembly: Microsoft.Exchange.Diagnostics (in Microsoft.Exchange.Diagnostics.dll)
Syntax
'Declaration
Public Sub New ( _
fileNamePrefix As String, _
headerFormatter As LogHeaderFormatter, _
logComponent As String, _
handleKnownExceptions As Boolean _
)
'Usage
Dim fileNamePrefix As String
Dim headerFormatter As LogHeaderFormatter
Dim logComponent As String
Dim handleKnownExceptions As Boolean
Dim instance As New Log(fileNamePrefix, _
headerFormatter, logComponent, handleKnownExceptions)
public Log(
string fileNamePrefix,
LogHeaderFormatter headerFormatter,
string logComponent,
bool handleKnownExceptions
)
Parameters
- fileNamePrefix
Type: System.String
- headerFormatter
Type: Microsoft.Exchange.Diagnostics.LogHeaderFormatter
- logComponent
Type: System.String
- handleKnownExceptions
Type: System.Boolean