C# Class GSF.Diagnostics.LogEventPublisher

Can be used to publish event messages.
ファイルを表示 Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method 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

Method Description
LogEventPublisher ( LogPublisher publisher, LogEventPublisherInternal internalPublisher ) : System

Method Details

Publish() public method

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.
return void

Publish() public method

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.
return void