C# Класс log4net.Raven.RavenAppender

Наследование: log4net.Appender.BufferingAppenderSkeleton
Показать файл Открыть проект

Открытые методы

Метод Описание
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