Gemstone Diagnostics Library
Show/Hide TOC

# LogSubscriptionFileWriter Class

A log subscription that will write messages to a file

## Definition

Namespace: Gemstone.Diagnostics.Utilities
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.174 -- Release Build+fd8be4627cf6a222f95edbdf5ca5819ec8d94f4d
C#
View Source Request Example

    public sealed class LogSubscriptionFileWriter : IDisposable

VB
View Source Request Example

    Public NotInheritable Class LogSubscriptionFileWriter
    	Implements IDisposable

C++
View Source Request Example

    public ref class LogSubscriptionFileWriter sealed : IDisposable

JavaScript
View Source Request Example

    Gemstone.Diagnostics.Utilities.LogSubscriptionFileWriter = function();

    Type.createClass(
    	'Gemstone.Diagnostics.Utilities.LogSubscriptionFileWriter',
    	null,
    	IDisposable);

Inheritance
  Object LogSubscriptionFileWriter

Implements
  IDisposable

## Constructors

LogSubscriptionFileWriter | Creates a LogFileWriter that initially queues message

## Properties

Verbose | Gets or sets verbosity level for this LogSubscriptionFileWriter.

## Methods

Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
SetLoggingFileCount | Sets the maximum number of log files before a new one will delete the oldest one.
SetPath(String) | Sets the path of the log files.
SetPath(String, VerboseLevel) | Sets log file writer path and optionally its verbosity level.
ToString | Returns a string that represents the current object. (Inherited from Object)

## Events

NewFileComplete | When a new file has been completed.

## See Also

#### Reference

Gemstone.Diagnostics.Utilities Namespace