LogEventPublisher Class

Can be used to publish event messages.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
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