4 ms·
There are logging libraries that include syntactically scoped timers, such as mulog (https://github.com/BrunoBonacci/mulog https://github.com/BrunoBonacci/mulog
by waffletower 3y ago
There are logging libraries that include syntactically scoped timers, such as mulog (https://github.com/BrunoBonacci/mulog https://github.com/BrunoBonacci/mulog). While a great library, we preferred timbre (https://github.com/taoensso/timbre https://github.com/taoensso/timbre) and rolled our own logging timer macro that interoperates with it. More convenient to have such niceties in a Lisp of course. Since we also have OpenTelemetry available, it would also be easy to wrap traces around code form boundaries as well. Thanks OP for the idea!