diff options
| author | Rutger Broekhoff | 2026-09-10 01:30:43 +0200 |
|---|---|---|
| committer | Rutger Broekhoff | 2026-09-10 01:30:43 +0200 |
| commit | 4031e77edd2abd694114be698312d086bce6b425 (patch) | |
| tree | 85f13a278339841cacc81314170b59c97587fa27 /server/src/srv.cppm | |
| parent | 1417e6cf41d27c594d2bdc92f87746d2383a1b1d (diff) | |
| download | routemon-4031e77edd2abd694114be698312d086bce6b425.tar.gz routemon-4031e77edd2abd694114be698312d086bce6b425.zip | |
More tracing stuff
Diffstat (limited to 'server/src/srv.cppm')
| -rw-r--r-- | server/src/srv.cppm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/srv.cppm b/server/src/srv.cppm index 063617e..b06dc3b 100644 --- a/server/src/srv.cppm +++ b/server/src/srv.cppm | |||
| @@ -11,10 +11,11 @@ namespace routemon::srv { | |||
| 11 | 11 | ||
| 12 | class handler | 12 | class handler |
| 13 | { | 13 | { |
| 14 | log::logger l_; | ||
| 14 | api::handler inner_; | 15 | api::handler inner_; |
| 15 | 16 | ||
| 16 | public: | 17 | public: |
| 17 | using outer_ctx = http::trace_id_ctx<http::base_ctx>; | 18 | using outer_ctx = http::base_ctx; |
| 18 | using l0_ctx = http::routed_ctx<outer_ctx>; | 19 | using l0_ctx = http::routed_ctx<outer_ctx>; |
| 19 | 20 | ||
| 20 | private: | 21 | private: |
| @@ -25,7 +26,7 @@ private: | |||
| 25 | -> net::awaitable<http::presponse>; | 26 | -> net::awaitable<http::presponse>; |
| 26 | 27 | ||
| 27 | public: | 28 | public: |
| 28 | handler(api::handler&& inner); | 29 | handler(log::logger const& l, api::handler&& inner); |
| 29 | 30 | ||
| 30 | auto make_routes() -> http::route_tree<http::routed_ctx<outer_ctx>>; | 31 | auto make_routes() -> http::route_tree<http::routed_ctx<outer_ctx>>; |
| 31 | }; | 32 | }; |