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

A publisher for a specific event of a LogPublisher.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ShouldRaiseMessageSupressionNotifications bool

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

Метод Описание
Publish ( LogMessageAttributes overriddenAttributes, string message, string details, Exception exception, LogStackMessages initialStackMessage, LogStackTrace initialStackTrace ) : void

Raises a log message with the provided data.

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

Метод Описание
LogEventPublisherInternal ( LogMessageAttributes attributes, LogEventPublisherDetails owner, LogPublisherInternal publisher, LoggerInternal logger, int stackTraceDepth, double messagesPerSecond, int burstLimit ) : System

Creates a LogEventPublisherInternal.

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

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

Raises a log message with the provided data.
public Publish ( LogMessageAttributes overriddenAttributes, string message, string details, Exception exception, LogStackMessages initialStackMessage, LogStackTrace initialStackTrace ) : void
overriddenAttributes LogMessageAttributes attributes to use with this message
message string
details string A long text field with the details of the message.
exception System.Exception An exception object if one is provided.
initialStackMessage LogStackMessages
initialStackTrace LogStackTrace
Результат void

Описание свойств

ShouldRaiseMessageSupressionNotifications публичное свойство

Gets/Sets if a log message should be generated when message suppression occurs. Default is true;
public bool ShouldRaiseMessageSupressionNotifications
Результат bool