Gemstone Diagnostics Library
Show/Hide TOC

# LogSubscriber Class

Subscribes to log events.

## Definition

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

    public sealed class LogSubscriber : IDisposable

VB
View Source Request Example

    Public NotInheritable Class LogSubscriber
    	Implements IDisposable

C++
View Source Request Example

    public ref class LogSubscriber sealed : IDisposable

JavaScript
View Source Request Example

    Gemstone.Diagnostics.LogSubscriber = function();

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

Inheritance
  Object LogSubscriber

Implements
  IDisposable

## Methods

Clear | Clears all subscriptions
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)
IgnoreAll | Ignore all messages of this verbose level.
IgnoreAssembly(Assembly, VerboseLevel) | Ignore all messages of this verbose level.
IgnoreAssembly(String, VerboseLevel) | Ignore all messages of this verbose level.
IgnoreType(String, VerboseLevel) | Ignore all messages of this verbose level.
IgnoreType(Type, VerboseLevel) | Ignore all messages of this verbose level.
SubscribeToAll | Subscribes to all publishers with the specified verbose level.
SubscribeToAssembly(Assembly, VerboseLevel) | Subscribes to the publisher of the specified assembly with the specified verbose level.
SubscribeToAssembly(String, VerboseLevel) | Subscribes to the publisher of the specified assembly with the specified verbose level.
SubscribeToType(String, VerboseLevel) | Subscribes to the publisher of the specified type expression with the specified verbose level.
SubscribeToType(Type, VerboseLevel) | Subscribes to the publisher of the specified type with the specified verbose level.
ToString | Returns a string that represents the current object. (Inherited from Object)

## Events

NewLogMessage | Event handler for the logs that are raised.

## See Also

#### Reference

Gemstone.Diagnostics Namespace