RolloverLogSettings Class

The settings for a RolloverLogFile.

Definition

Namespace: SnapDB.Snap.Services.Writer
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class RolloverLogSettings : SettingsBase<RolloverLogSettings>
Inheritance
Object    ImmutableObjectBaseRolloverLogSettings    ImmutableObjectAutoBaseRolloverLogSettings    SettingsBaseRolloverLogSettings    RolloverLogSettings

Constructors

RolloverLogSettingsInitializes a new instance of the RolloverLogSettings class

Properties

IsFileBacked Gets if this archive log will be file backed. This is true as long as LogPath is assigned a value.
IsReadOnly Gets or sets if this class is immutable and thus read-only. Once setting to read-only, the class becomes immutable.
(Inherited from ImmutableObjectBaseT)
LogFileExtension The file extension to write the log files.
LogFilePrefix The prefix to assign to all log files. Can be string.empty
LogPath The path to store all log files. Can be an empty string to not enable file based logging.

Methods

Clone Creates a clone of the object, either as a read-only instance or an editable one.
(Inherited from ImmutableObjectBaseT)
CloneEditable Creates a clone of this class that is editable. A clone is always created, even if this class is already editable.
(Inherited from ImmutableObjectBaseT)
CloneMembersAsEditable Request that member fields be cloned and marked as editable.
(Inherited from ImmutableObjectAutoBaseT)
CloneReadonly Creates a read-only clone of the object.
(Inherited from ImmutableObjectBaseT)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Load Loads the configuration of the log settings from the specified stream.
(Overrides SettingsBaseTLoad(Stream))
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Save Saves the configuration of the log settings to the specified stream.
(Overrides SettingsBaseTSave(Stream))
SetMembersAsReadOnly Requests that member fields be set to "read-only".
(Inherited from ImmutableObjectAutoBaseT)
TestForEditable Test if the class has been marked as read-only. Throws an exception if editing cannot occur.
(Inherited from ImmutableObjectBaseT)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Validates the configuration of the log settings.
(Overrides SettingsBaseTValidate)

See Also