C# Class Elmah.PgsqlErrorLog

An ErrorLog implementation that uses PostgreSQL as its backing store.
Inheritance: Elmah.ErrorLog
ファイルを表示 Open project: elmah/Elmah

Public Methods

Method Description
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.

Method Details

GetError() public method

public GetError ( string id ) : ErrorLogEntry
id string
return ErrorLogEntry

GetErrors() public method

public GetErrors ( int pageIndex, int pageSize, ICollection errorEntryList ) : int
pageIndex int
pageSize int
errorEntryList ICollection
return int

Log() public method

public Log ( Error error ) : string
error Error
return string

PgsqlErrorLog() public method

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

PgsqlErrorLog() public method

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
return System