C# Class GSF.Diagnostics.LogEventPublisher

Can be used to publish event messages.
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode Description
Publish ( MessageFlags flags, string message = null, string details = null, Exception exception = null ) : void

Raises a log message with the provided data.

Publish ( string message = null, string details = null, Exception exception = null ) : void

Raises a log message with the provided data.

Private Methods

Méthode Description
LogEventPublisher ( LogPublisher publisher, LogEventPublisherInternal internalPublisher ) : System

Method Details

Publish() public méthode

Raises a log message with the provided data.
public Publish ( MessageFlags flags, string message = null, string details = null, Exception exception = null ) : void
flags MessageFlags additional flags to set to this log
message string
details string A long text field with the details of the message.
exception System.Exception An exception object if one is provided.
Résultat void

Publish() public méthode

Raises a log message with the provided data.
public Publish ( string message = null, string details = null, Exception exception = null ) : void
message string
details string A long text field with the details of the message.
exception System.Exception An exception object if one is provided.
Résultat void