C# Class Elmah.Extensions.FallbackErrorLog

Inheritance: ErrorLog
Afficher le fichier Open project: 360imprimir/Elmah.Extensions

Méthodes publiques

Méthode Description
FallbackErrorLog ( IDictionary config ) : System

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

GetError ( string id ) : ErrorLogEntry

Get the ErrorLogEntry with the id from the main ErrorLog.

GetErrors ( int pageIndex, int pageSize, IList errorEntryList ) : int

Log ( Error error ) : string

Logs the error only to the first ErrorLog that is currently working.

Method Details

FallbackErrorLog() public méthode

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

GetError() public méthode

Get the ErrorLogEntry with the id from the main ErrorLog.
public GetError ( string id ) : ErrorLogEntry
id string Identifier of the .
Résultat ErrorLogEntry

GetErrors() public méthode

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

Log() public méthode

Logs the error only to the first ErrorLog that is currently working.
public Log ( Error error ) : string
error Error Error to log.
Résultat string