C# Class Elmah.Extensions.FallbackErrorLog

Inheritance: ErrorLog
Datei anzeigen Open project: 360imprimir/Elmah.Extensions

Public Methods

Method 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 method

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

GetError() public method

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

GetErrors() public method

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

Log() public method

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