LogEventPublisher Class

Can be used to publish event messages.

Definition

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

Properties

HasSubscribers Gets if this publisher has any subscribers to it. This does not have to be checked as messages won't route if there are not subscribers. This is mainly used to skip the code that would generate the data for the LogMessage.
ShouldRaiseMessageSuppressionNotifications Gets/Sets if a log message should be generated when message suppression occurs. Default is true;

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Publish(String, String, Exception) Raises a log message with the provided data.
Publish(MessageFlags, String, String, Exception) Raises a log message with the provided data.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also