LogMiddleware class

Inheritance

Constructors

LogMiddleware(RequestHandler internal, {bool verbose = false, String logSender = 'API'})
Logs requests, handling times and status codes to the LogService.

Properties

hashCode int
The hash code for this object.
no setterinherited
internal → RequestHandler
finalinherited
logSender String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verbose bool
final

Methods

handleRequest(ApiRequest request) Future<ApiResponse>
next(ApiRequest request) Future<ApiResponse>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited