Click or drag to resize

LogFileWriterInMemory Class

A log subscriber that will log messages to a file.
Inheritance Hierarchy
SystemObject
  GSF.DiagnosticsLogFileWriterInMemory

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public class LogFileWriterInMemory
View Source

The LogFileWriterInMemory type exposes the following members.

Constructors
 NameDescription
Public methodLogFileWriterInMemory Creates a LogFileWriter that initially queues message
Top
Properties
 NameDescription
Public propertyLogCount The number of logs that have been written to this file.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToByteArray Returns a byte array of the log zip stream.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWrite Writes the specified log to the file
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