C# Class log4net.Raven.RavenAppender

Inheritance: log4net.Appender.BufferingAppenderSkeleton
Afficher le fichier Open project: antonsamarsky/log4net.Raven

Méthodes publiques

Méthode Description
ActivateOptions ( ) : void
RavenAppender ( ) : System

Initializes a new instance of the RavenAppender class.

RavenAppender ( IDocumentStore documentStore ) : System

Initializes a new instance of the RavenAppender class.

Méthodes protégées

Méthode Description
OnClose ( ) : void
SendBuffer ( log4net.Core.LoggingEvent events ) : void

Private Methods

Méthode Description
CheckSession ( ) : void

IDocumentSession - Instances of this interface are created by the DocumentStore, they are cheap to create and not thread safe. If an exception is thrown by an IDocumentSession method, the behavior of all of the methods (except Dispose) is undefined. The document session is used to interact with the Raven database, load data from the database, query the database, save and delete. Instances of this interface implement the Unit of Work pattern and change tracking.

CreateStore ( ) : IDocumentStore
InitServer ( ) : void

IDocumentStore - This is expensive to create, thread safe and should only be created once per application. The Document Store is used to create DocumentSessions, to hold the conventions related to saving/loading data and any other global configuration.

Method Details

ActivateOptions() public méthode

public ActivateOptions ( ) : void
Résultat void

OnClose() protected méthode

protected OnClose ( ) : void
Résultat void

RavenAppender() public méthode

Initializes a new instance of the RavenAppender class.
public RavenAppender ( ) : System
Résultat System

RavenAppender() public méthode

Initializes a new instance of the RavenAppender class.
public RavenAppender ( IDocumentStore documentStore ) : System
documentStore IDocumentStore The document store.
Résultat System

SendBuffer() protected méthode

protected SendBuffer ( log4net.Core.LoggingEvent events ) : void
events log4net.Core.LoggingEvent
Résultat void