C# Class log4net.Appender.MongoDB.BackwardCompatibility

Exibir arquivo Open project: gimmi/log4net.Appender.MongoDB Class Usage Examples

Public Methods

Method Description
BuildBsonDocument ( log4net.Core.LoggingEvent loggingEvent ) : BsonDocument
GetDatabase ( MongoDBAppender appender ) : MongoDatabase

Private Methods

Method Description
BuildExceptionBsonDocument ( Exception ex ) : BsonDocument

Method Details

BuildBsonDocument() public static method

public static BuildBsonDocument ( log4net.Core.LoggingEvent loggingEvent ) : BsonDocument
loggingEvent log4net.Core.LoggingEvent
return BsonDocument

GetDatabase() public static method

public static GetDatabase ( MongoDBAppender appender ) : MongoDatabase
appender MongoDBAppender
return MongoDatabase