C# 클래스 log4net.ElasticSearch.Repository

상속: IRepository
파일 보기 프로젝트 열기: jptoto/log4net.ElasticSearch 1 사용 예제들

공개 메소드들

메소드 설명
Add ( IEnumerable logEvents, int bufferSize ) : void

Post the event(s) to the Elasticsearch API. If the bufferSize in the connection string is set to more than 1, assume we use the _bulk API for better speed and efficiency

Create ( string connectionString ) : IRepository
Create ( string connectionString, IHttpClient httpClient ) : IRepository

비공개 메소드들

메소드 설명
Repository ( log4net.ElasticSearch.Models.Uri uri, IHttpClient httpClient ) : System.Collections.Generic

메소드 상세

Add() 공개 메소드

Post the event(s) to the Elasticsearch API. If the bufferSize in the connection string is set to more than 1, assume we use the _bulk API for better speed and efficiency
public Add ( IEnumerable logEvents, int bufferSize ) : void
logEvents IEnumerable A collection of logEvents
bufferSize int The BufferSize as set in the connection string details
리턴 void

Create() 공개 정적인 메소드

public static Create ( string connectionString ) : IRepository
connectionString string
리턴 IRepository

Create() 공개 정적인 메소드

public static Create ( string connectionString, IHttpClient httpClient ) : IRepository
connectionString string
httpClient IHttpClient
리턴 IRepository