Hi, Zheng Junjie <zhengjun...@iscas.ac.cn> writes:
> Maxim Cournoyer <maxim.courno...@gmail.com> writes: > >> Hi Attila, >> >> Attila Lendvai <att...@lendvai.name> writes: >> >>>> About "cheaper code path when a log level is disabled at runtime", >>>> perhaps it can be improved in guile-lib, but otherwise that's a nice >>>> list. I just wish we had a good logging library in Guile and could stop >>>> reinventing the wheel left and right. >>> >>> >>> i've made my judgement that the logger in guile-lib was never applied >>> seriously when i relized that it stores the enabled state in a >>> hashtable (which must be looked up for every log statement). >>> >>> i made sure the log statements have a unique syntax, so the underlying >>> machinery can be replaced easily later, and then i moved on. >> >> I guess if we were serious at giving Scheme/Guile a great logging >> library we would try to design it with the help of everyone as a SRFI; >> it could then be integrated to Guile and any other Scheme, benefiting >> the ecosystem at large. Is this something you could be interested in >> trying? I've found the Scheme community around SRFIs very knowledgeable >> and helpful. >> > > maybe can see srfi-215 Central Log Exchange > [https://srfi.schemers.org/srfi-215/srfi-215.html]? That's somewhat related, but is not an actually usable logging library, just some standard means to dispatch them to various sinks, if I recall my read of it. -- Thanks, Maxim