LogFileWriter Class

A log subscriber that will log messages to a file.

Definition

Namespace: Gemstone.Diagnostics.Utilities
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.138 -- Release Build+6aeb4c3988b05c265b918fce2dee4202efa7e160
public sealed class LogFileWriter : IDisposable
Inheritance
Object    LogFileWriter
Implements
IDisposable

Constructors

LogFileWriter Creates a LogFileWriter that initially queues message

Properties

LogCount The number of logs that have been written to this file.
LogSize The current size of the log file.

Methods

Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Flush Flushes the stream to the disk.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Write Writes the specified log to the file

Fields

FileName The file name

See Also