Click or drag to resize

LogSubscriptionFileWriter Class

A log subscription that will write messages to a file
Inheritance Hierarchy
SystemObject
  GSF.DiagnosticsLogSubscriptionFileWriter

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public sealed class LogSubscriptionFileWriter : IDisposable
View Source

The LogSubscriptionFileWriter type exposes the following members.

Constructors
 NameDescription
Public methodLogSubscriptionFileWriter Creates a LogFileWriter that initially queues message
Top
Properties
 NameDescription
Public propertyVerbose Gets or sets verbosity level for this LogSubscriptionFileWriter.
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetLoggingFileCount Sets the maximum number of log files before a new one will delete the oldest one.
Public methodSetPath(String) Sets the path of the log files.
Public methodSetPath(String, VerboseLevel) Sets log file writer path and optionally its verbosity level.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventNewFileComplete When a new file has been completed.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also