-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEA] Investigate C++ Logging libraries #295
Comments
Some links: Some analysis: g3log: https://github.com/KjellKod/g3log I think that we should discuss requirements / desires. Speed is important, and also simplicity, and very important is impact on installation of RMM (I think we would like RMM to become header-only). I think a logger that is header-only and mature, so we could vendor it directly into RMM rather than submoduling it. I haven't thought about whether overall latency is important, as discussed in the first link above. |
Agreed. I generated table to summarize these things
Some requirements I've been thinking about:
|
Info: also # active allocations and allocation strategy-specific data like fragmentation metrics could come in handy. |
I believe Glog is BSD-3-Clause. It included some third-party BSD-3-Clause code as well. As to minimum C++ version it may C++03 or C++98, but wasn't sure either. Raised issue ( google/glog#527 ) to see if they could provide some guidance 🙂 |
I've seen some logging implementations need access to |
Yikes, yeah, that would definitely disqualify any logging library that required something like this. |
spdlog chosen and implemented in #297. Closing. |
Is your feature request related to a problem? Please describe.
It would be nice to use a dedicated logging library for RMM logging.
Describe the solution you'd like
Investigate C++ logging library solutions.
The text was updated successfully, but these errors were encountered: