C# 클래스 log4net.Raven.RavenAppender

상속: log4net.Appender.BufferingAppenderSkeleton
파일 보기 프로젝트 열기: antonsamarsky/log4net.Raven

공개 메소드들

메소드 설명
ActivateOptions ( ) : void
RavenAppender ( ) : System

Initializes a new instance of the RavenAppender class.

RavenAppender ( IDocumentStore documentStore ) : System

Initializes a new instance of the RavenAppender class.

보호된 메소드들

메소드 설명
OnClose ( ) : void
SendBuffer ( log4net.Core.LoggingEvent events ) : void

비공개 메소드들

메소드 설명
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.

메소드 상세

ActivateOptions() 공개 메소드

public ActivateOptions ( ) : void
리턴 void

OnClose() 보호된 메소드

protected OnClose ( ) : void
리턴 void

RavenAppender() 공개 메소드

Initializes a new instance of the RavenAppender class.
public RavenAppender ( ) : System
리턴 System

RavenAppender() 공개 메소드

Initializes a new instance of the RavenAppender class.
public RavenAppender ( IDocumentStore documentStore ) : System
documentStore IDocumentStore The document store.
리턴 System

SendBuffer() 보호된 메소드

protected SendBuffer ( log4net.Core.LoggingEvent events ) : void
events log4net.Core.LoggingEvent
리턴 void