C# Class rabbitmq.log4net.gelf.appender.GelfRabbitMqAppender

Inheritance: log4net.Appender.AppenderSkeleton
Mostra file Open project: hancengiz/rabbitmq.log4net.gelf.appender Class Usage Examples

Protected Properties

Property Type Description
gelfAdapter rabbitmq.log4net.gelf.appender.GelfAdapter
model IModel

Public Methods

Method Description
ActivateOptions ( ) : void
EnsureConnectionIsOpen ( ) : void
GelfRabbitMqAppender ( ) : RabbitMQ.Client
GelfRabbitMqAppender ( rabbitmq.log4net.gelf.appender.GelfAdapter gelfAdapter ) : RabbitMQ.Client

Protected Methods

Method Description
Append ( log4net.Core.LoggingEvent loggingEvent ) : void
CreateConnectionFactory ( ) : ConnectionFactory
OnClose ( ) : void
SafeShutDownForModel ( ) : void

Private Methods

Method Description
ConnectionShutdown ( IConnection shutingDownConnection, RabbitMQ.Client.ShutdownEventArgs reason ) : void
OpenConnection ( ) : void
SafeShutdownForConnection ( ) : void
SetDefaultConfig ( ) : void

Method Details

ActivateOptions() public method

public ActivateOptions ( ) : void
return void

Append() protected method

protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent
return void

CreateConnectionFactory() protected method

protected CreateConnectionFactory ( ) : ConnectionFactory
return RabbitMQ.Client.ConnectionFactory

EnsureConnectionIsOpen() public method

public EnsureConnectionIsOpen ( ) : void
return void

GelfRabbitMqAppender() public method

public GelfRabbitMqAppender ( ) : RabbitMQ.Client
return RabbitMQ.Client

GelfRabbitMqAppender() public method

public GelfRabbitMqAppender ( rabbitmq.log4net.gelf.appender.GelfAdapter gelfAdapter ) : RabbitMQ.Client
gelfAdapter rabbitmq.log4net.gelf.appender.GelfAdapter
return RabbitMQ.Client

OnClose() protected method

protected OnClose ( ) : void
return void

SafeShutDownForModel() protected method

protected SafeShutDownForModel ( ) : void
return void

Property Details

gelfAdapter protected_oe property

protected GelfAdapter,rabbitmq.log4net.gelf.appender gelfAdapter
return rabbitmq.log4net.gelf.appender.GelfAdapter

model protected_oe property

protected IModel model
return IModel