Commit Graph

11 Commits

Author SHA1 Message Date
Michael Pfaff cec213adda
Improve internal error logging 2022-05-02 13:23:04 -04:00
Michael Pfaff 68e356811a
Log errors 2022-05-02 13:00:05 -04:00
Michael Pfaff 9e8d5ef5e9
Bump version
**Breaking changes**

- Remove `PartialEq<ReqComp> for ReqComps` (use `ReqComps::contains`
  instead)
- Rename `contains_many` to `contains_all`

**Other changes**

- Mark a bunch of methods `#[inline]`
- Reorder structs
- Add `Default for ReqComps`
- Replace `Into<ReqComps> for ReqComp` with `From<ReqComp> for ReqComps`
- Modify `LogMiddleware::log`
- Add tests
- Run `cargo fmt`
2022-03-07 16:24:50 -05:00
Michael Pfaff d517d3d03c
Upgrade deps, remove unused deps, improve code 2021-05-30 03:05:27 -04:00
Michael Pfaff e06ca9108f
Use std Duration for output instead of chrono Duration for better formatting 2021-01-21 12:15:43 -05:00
Michael Pfaff f02736366b
apparently Value isn't implemented for String 2021-01-21 12:10:26 -05:00
Michael Pfaff 338613dfc1
Add multiline option 2021-01-21 12:06:22 -05:00
Michael Pfaff c15c901a5c
Make LogMiddleware fields public 2021-01-21 11:52:22 -05:00
Michael Pfaff 8a7353dc97
Configurable, improved, middleware struct instead of function 2021-01-21 11:49:00 -05:00
Michael Pfaff ea1ed6fd70
Fix concurrent request spans interfering 2021-01-20 22:56:09 -05:00
Michael Pfaff 53eac89cae
Initial commit 2021-01-18 22:39:08 -05:00