LogMiddleware class
- Inheritance
-
- Object
- Middleware
- LogMiddleware
Constructors
- LogMiddleware(RequestHandler internal, {bool verbose = false, String logSender = 'API'})
- Logs requests, handling times and status codes to the LogService.
Properties
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