We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8f17bd commit 48b83d5Copy full SHA for 48b83d5
src/api/server_api.cpp
@@ -75,6 +75,8 @@ auto api_wrapper(void (*api_function)(const httplib::Request&, httplib::Response
75
return;
76
}
77
78
+ LOG_F(INFO, "server: API access to {} by ", req.path, req.get_header_value("User-Agent"));
79
+
80
api_function(req, res);
81
} catch (const budget_exception& e) {
82
api_error(req, res, std::format("Exception occurred: ", e.message()));
0 commit comments