C# Class log4net.Appender.MongoDB.MongoDBAppender

Inheritance: AppenderSkeleton
显示文件 Open project: gimmi/log4net.Appender.MongoDB Class Usage Examples

Private Properties

Property Type Description
BuildBsonDocument BsonDocument
GetCollection MongoCollection
GetDatabase MongoDatabase

Public Methods

Method Description
AddField ( MongoAppenderFileld fileld ) : void

Protected Methods

Method Description
Append ( log4net.Core.LoggingEvent loggingEvent ) : void

Private Methods

Method Description
BuildBsonDocument ( log4net.Core.LoggingEvent log ) : BsonDocument
GetCollection ( ) : MongoCollection
GetDatabase ( ) : MongoDatabase

Method Details

AddField() public method

public AddField ( MongoAppenderFileld fileld ) : void
fileld MongoAppenderFileld
return void

Append() protected method

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