C# Class Elmah.Couchbase.CouchbaseErrorLog

ErrorLog implementation using Couchbase Server 2.0 as backing store.
Inheritance: Elmah.ErrorLog
显示文件 Open project: couchbaselabs/elmah-couchbase

Public Methods

Method Description
CouchbaseErrorLog ( IDictionary config ) : System

Initialize new instance of CouchbaseClient using either default config or specified configuration name

GetError ( string id ) : ErrorLogEntry

Get error log entry by id

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

Get list of errors for view in Elmah web viewer

Log ( Error error ) : string

Log an error

Method Details

CouchbaseErrorLog() public method

Initialize new instance of CouchbaseClient using either default config or specified configuration name
public CouchbaseErrorLog ( IDictionary config ) : System
config IDictionary
return System

GetError() public method

Get error log entry by id
public GetError ( string id ) : ErrorLogEntry
id string
return Elmah.ErrorLogEntry

GetErrors() public method

Get list of errors for view in Elmah web viewer
public GetErrors ( int pageIndex, int pageSize, IList errorEntryList ) : int
pageIndex int
pageSize int
errorEntryList IList
return int

Log() public method

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