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.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
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