EventTextFormatter Constructor
Applies to: Semantic Logging Application Block 1.0
Initializes a new instance of the EventTextFormatter class.
Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Formatters
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.dll) Version: 1.0.0.0 (1.0.1304.0)
Syntax
public EventTextFormatter(
string header = null,
string footer = null,
EventLevel verbosityThreshold = EventLevel.Error,
string dateTimeFormat = null
)
'Declaration
Public Sub New (
Optional header As String = Nothing,
Optional footer As String = Nothing,
Optional verbosityThreshold As EventLevel = EventLevel.Error,
Optional dateTimeFormat As String = Nothing
)
public:
EventTextFormatter(
String^ header = nullptr,
String^ footer = nullptr,
EventLevel verbosityThreshold = EventLevel::Error,
String^ dateTimeFormat = nullptr
)
Parameters
- header (Optional)
Type: System.String
The header.
- footer (Optional)
Type: System.String
The footer.
- verbosityThreshold (Optional)
Type: EventLevel
The verbosity threshold.
- dateTimeFormat (Optional)
Type: System.String
The date time format used for timestamp value.
See Also
Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Formatters Namespace