apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.82k stars 807 forks source link

Add std::format style formatted print support to proxy/Log class #8876

Open cmcfarlen opened 2 years ago

cmcfarlen commented 2 years ago

Related to #8855, this should add support for std::format style print, but maintain timestamps and support arbitrarily long log lines. This could improve logging efficiency over #8855 avoiding a double formatted print and a copy or two.

ywkaras commented 2 years ago

If we inhale https://github.com/fmtlib/fmt to get this before we switch to C++20, we can use namespace aliasing:

namespace fmt = std;

once we do switch to 20.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.