C# 클래스 Elmah.PgsqlErrorLog

An ErrorLog implementation that uses PostgreSQL as its backing store.
상속: Elmah.ErrorLog
파일 보기 프로젝트 열기: elmah/Elmah

공개 메소드들

메소드 설명
GetError ( string id ) : ErrorLogEntry
GetErrors ( int pageIndex, int pageSize, ICollection errorEntryList ) : int
Log ( Error error ) : string
PgsqlErrorLog ( IDictionary config ) : System

Initializes a new instance of the PgsqlErrorLog class using a dictionary of configured settings.

PgsqlErrorLog ( string connectionString ) : System

Initializes a new instance of the PgsqlErrorLog class to use a specific connection string for connecting to the database.

메소드 상세

GetError() 공개 메소드

public GetError ( string id ) : ErrorLogEntry
id string
리턴 ErrorLogEntry

GetErrors() 공개 메소드

public GetErrors ( int pageIndex, int pageSize, ICollection errorEntryList ) : int
pageIndex int
pageSize int
errorEntryList ICollection
리턴 int

Log() 공개 메소드

public Log ( Error error ) : string
error Error
리턴 string

PgsqlErrorLog() 공개 메소드

Initializes a new instance of the PgsqlErrorLog class using a dictionary of configured settings.
public PgsqlErrorLog ( IDictionary config ) : System
config IDictionary
리턴 System

PgsqlErrorLog() 공개 메소드

Initializes a new instance of the PgsqlErrorLog class to use a specific connection string for connecting to the database.
public PgsqlErrorLog ( string connectionString ) : System
connectionString string
리턴 System