Share via


RollingFlatFileSink.StreamWriterRollingHelper Members

Include Protected Members
Include Inherited Members

Applies to: Semantic Logging 2.0

The RollingFlatFileSink.StreamWriterRollingHelper type exposes the following members.

Constructors

  Name Description
Public method RollingFlatFileSink.StreamWriterRollingHelper
Initializes a new instance of the RollingFlatFileSink.StreamWriterRollingHelper.

Methods

  Name Description
Public method CalculateNextRollDate
Calculates the next roll date for the file.
Public method CheckIsRollNecessary
Checks whether rolling should be performed, and returns the date to use when performing the roll.
Public method ComputeArchiveFileName
Gets the file name to use for archiving the file.
Public method Dispose
Releases all resources used by the current instance of the RollingFlatFileSink.StreamWriterRollingHelper class.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic member FindMaxSequenceNumber
Finds the max sequence number for a log file.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method RollIfNecessary
Rolls the file if necessary.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method UpdateRollingInformationIfNecessary
Updates book keeping information necessary for rolling, as required by the specified rolling configuration.

Properties

  Name Description
Public property DateTimeProvider
Gets or sets current date time provider.
Public property NextRollDateTime
Gets the next date when date based rolling should occur if configured.

See Also

RollingFlatFileSink.StreamWriterRollingHelper Class

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks Namespace