Свойство | Тип | Описание | |
---|---|---|---|
capacity | int | ||
logEntries | ConcurrentQueue |
Метод | Описание | |
---|---|---|
GetLatestLogs ( int take ) : List |
||
InMemoryRollingRequestLogger ( int capacity = DefaultCapacity ) : System | ||
Log ( IRequest request, object requestDto, object response, System.TimeSpan requestDuration ) : void | ||
SerializableItems ( object>.Dictionary |
||
ToSerializableErrorResponse ( object response ) : object |
Метод | Описание | |
---|---|---|
CreateEntry ( IRequest request, object requestDto, object response, System.TimeSpan requestDuration, |
||
ExcludeRequestType ( |
||
InMemoryRollingRequestLogger ( ) : System |
protected CreateEntry ( IRequest request, object requestDto, object response, System.TimeSpan requestDuration, |
||
request | IRequest | |
requestDto | object | |
response | object | |
requestDuration | System.TimeSpan | |
requestType | ||
Результат | RequestLogEntry |
protected ExcludeRequestType ( |
||
requestType | ||
Результат | bool |
protected InMemoryRollingRequestLogger ( ) : System | ||
Результат | System |
public InMemoryRollingRequestLogger ( int capacity = DefaultCapacity ) : System | ||
capacity | int | |
Результат | System |
public Log ( IRequest request, object requestDto, object response, System.TimeSpan requestDuration ) : void | ||
request | IRequest | |
requestDto | object | |
response | object | |
requestDuration | System.TimeSpan | |
Результат | void |
public SerializableItems ( object>.Dictionary |
||
items | object>.Dictionary | |
Результат | string>.Dictionary |
public static ToSerializableErrorResponse ( object response ) : object | ||
response | object | |
Результат | object |