C# Класс GSF.Diagnostics.LogEventPublisher

Can be used to publish event messages.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
LogEventPublisher ( LogPublisher publisher, LogEventPublisherInternal internalPublisher ) : System

Описание методов

Publish() публичный Метод

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.
Результат void

Publish() публичный Метод

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.
Результат void