C# Класс Akka.Event.BusLogging

A logging adapter implementation publishing log events to the event stream.
Наследование: LoggingAdapterBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BusLogging ( LoggingBus bus, string logSource, Type logClass, ILogMessageFormatter logMessageFormatter ) : System

Initializes a new instance of the BusLogging class.

Защищенные методы

Метод Описание
NotifyDebug ( object message ) : void

Publishes the the debug message onto the LoggingBus.

NotifyError ( Exception cause, object message ) : void

Publishes the error message and exception onto the LoggingBus.

NotifyError ( object message ) : void

Publishes the error message onto the LoggingBus.

NotifyInfo ( object message ) : void

Publishes the the info message onto the LoggingBus.

NotifyWarning ( object message ) : void

Publishes the the warning message onto the LoggingBus.

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

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

Initializes a new instance of the BusLogging class.
public BusLogging ( LoggingBus bus, string logSource, Type logClass, ILogMessageFormatter logMessageFormatter ) : System
bus LoggingBus The logging bus instance that messages will be published to.
logSource string The log source.
logClass System.Type The log class.
logMessageFormatter ILogMessageFormatter The log message formatter.
Результат System

NotifyDebug() защищенный Метод

Publishes the the debug message onto the LoggingBus.
protected NotifyDebug ( object message ) : void
message object The debug message.
Результат void

NotifyError() защищенный Метод

Publishes the error message and exception onto the LoggingBus.
protected NotifyError ( Exception cause, object message ) : void
cause System.Exception The exception that caused this error.
message object The error message.
Результат void

NotifyError() защищенный Метод

Publishes the error message onto the LoggingBus.
protected NotifyError ( object message ) : void
message object The error message.
Результат void

NotifyInfo() защищенный Метод

Publishes the the info message onto the LoggingBus.
protected NotifyInfo ( object message ) : void
message object The info message.
Результат void

NotifyWarning() защищенный Метод

Publishes the the warning message onto the LoggingBus.
protected NotifyWarning ( object message ) : void
message object The warning message.
Результат void