C# Class Elmah.PgsqlErrorLog

An ErrorLog implementation that uses PostgreSQL as its backing store.
Inheritance: Elmah.ErrorLog
Afficher le fichier Open project: elmah/Elmah

Méthodes publiques

Méthode 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 méthode

public GetError ( string id ) : ErrorLogEntry
id string
Résultat ErrorLogEntry

GetErrors() public méthode

public GetErrors ( int pageIndex, int pageSize, ICollection errorEntryList ) : int
pageIndex int
pageSize int
errorEntryList ICollection
Résultat int

Log() public méthode

public Log ( Error error ) : string
error Error
Résultat string

PgsqlErrorLog() public méthode

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

PgsqlErrorLog() public méthode

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
Résultat System