Click or drag to resize

LogSubscriber Class

Subscribes to log events.
Inheritance Hierarchy
SystemObject
  GSF.DiagnosticsLogSubscriber

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public sealed class LogSubscriber : IDisposable
View Source

The LogSubscriber type exposes the following members.

Methods
 NameDescription
Public methodClear Clears all subscriptions
Public methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIgnoreAll Ignore all messages of this verbose level.
Public methodIgnoreAssembly(Assembly, VerboseLevel) Ignore all messages of this verbose level.
Public methodIgnoreAssembly(String, VerboseLevel) Ignore all messages of this verbose level.
Public methodIgnoreType(String, VerboseLevel) Ignore all messages of this verbose level.
Public methodIgnoreType(Type, VerboseLevel) Ignore all messages of this verbose level.
Public methodSubscribeToAll Subscribes to all publishers with the specified verbose level.
Public methodSubscribeToAssembly(Assembly, VerboseLevel) Subscribes to the publisher of the specified assembly with the specified verbose level.
Public methodSubscribeToAssembly(String, VerboseLevel) Subscribes to the publisher of the specified assembly with the specified verbose level.
Public methodSubscribeToType(String, VerboseLevel) Subscribes to the publisher of the specified type expression with the specified verbose level.
Public methodSubscribeToType(Type, VerboseLevel) Subscribes to the publisher of the specified type with the specified verbose level.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventNewLogMessage Event handler for the logs that are raised.
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