C# Class ServiceStack.Seq.RequestLogsFeature.SeqRequestLogger

Inheritance: IRequestLogger
Mostrar archivo Open project: wwwlicious/servicestack-seq-requestlogsfeature

Public Methods

Method Description
GetLatestLogs ( int take ) : List
Log ( IRequest request, object requestDto, object response, System.TimeSpan requestDuration ) : void
SeqRequestLogger ( SeqRequestLogsFeature feature ) : System

Protected Methods

Method Description
CreateEntry ( IRequest request, object requestDto, object response, System.TimeSpan requestDuration, Type requestType ) : SeqRequestLogEntry
ExcludeRequestType ( Type requestType ) : bool

Private Methods

Method Description
BufferedLogEntries ( SeqRequestLogEntry entry ) : void

Method Details

CreateEntry() protected method

protected CreateEntry ( IRequest request, object requestDto, object response, System.TimeSpan requestDuration, Type requestType ) : SeqRequestLogEntry
request IRequest
requestDto object
response object
requestDuration System.TimeSpan
requestType System.Type
return SeqRequestLogEntry

ExcludeRequestType() protected method

protected ExcludeRequestType ( Type requestType ) : bool
requestType System.Type
return bool

GetLatestLogs() public method

public GetLatestLogs ( int take ) : List
take int
return List

Log() public method

public Log ( IRequest request, object requestDto, object response, System.TimeSpan requestDuration ) : void
request IRequest
requestDto object
response object
requestDuration System.TimeSpan
return void

SeqRequestLogger() public method

public SeqRequestLogger ( SeqRequestLogsFeature feature ) : System
feature SeqRequestLogsFeature
return System