Метод | Описание | |
---|---|---|
RabbitMQ ( this loggerConfiguration, |
Adds a sink that lets you push log messages to RabbitMq
|
|
RabbitMQ ( this loggerConfiguration, string hostname, string username, string password, string exchange, string exchangeType, RabbitMQDeliveryMode deliveryMode, string routeKey, int port, string vHost, ushort heartbeat, IProtocol protocol, int batchPostingLimit, System.TimeSpan period, ITextFormatter formatter, IFormatProvider formatProvider = null ) : |
Configures Serilog logger configuration with RabbitMQ
|
public static RabbitMQ ( this loggerConfiguration, |
||
loggerConfiguration | this | |
rabbitMqConfiguration | ||
formatter | ITextFormatter | |
formatProvider | IFormatProvider | |
Результат |
public static RabbitMQ ( this loggerConfiguration, string hostname, string username, string password, string exchange, string exchangeType, RabbitMQDeliveryMode deliveryMode, string routeKey, int port, string vHost, ushort heartbeat, IProtocol protocol, int batchPostingLimit, System.TimeSpan period, ITextFormatter formatter, IFormatProvider formatProvider = null ) : |
||
loggerConfiguration | this | |
hostname | string | |
username | string | |
password | string | |
exchange | string | |
exchangeType | string | |
deliveryMode | RabbitMQDeliveryMode | |
routeKey | string | |
port | int | |
vHost | string | |
heartbeat | ushort | |
protocol | IProtocol | |
batchPostingLimit | int | |
period | System.TimeSpan | |
formatter | ITextFormatter | |
formatProvider | IFormatProvider | |
Результат |