If you specifically want to log GL calls, you could write your own glad-like library. There's an official registry (list) of GL functions which you can parse, and generate your library from.
↧