From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sK3zK9J6smWFIQAAqHPOHw:P1 (envelope-from ) for ; Thu, 25 Jan 2024 16:14:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sK3zK9J6smWFIQAAqHPOHw (envelope-from ) for ; Thu, 25 Jan 2024 16:14:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706195666; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=r1qpm5vIifP07t4OaO+ss8C6Vye/zVB5DUDJ329BuzU=; b=hZojGX15qcF+54M4tKYZSBJjsrAdzrYejvz/OdiEQC2NX0Nz9zbXMQ1fJ188vRqrl8T3lY r/dw+ufoml3BIdHvKAoND8OO3bywArFfGWxg65PiZp3c3cpihGz8lFDJcRXnfN5xyaT1li NWxLlQ7Z2OaKjgyS+Sx0erpbgU0nZFzYN9DEpzf6pVN4Sa5ZUxT5gTfulzHTDG+S6M2PfJ BEIj330USrh2zaVFYbWYFsKzssbWksdvcUAY2bb32YQyUDFpDuM+ZWiAlk6J6tY6lCzLJB pkrzk8i8SBfMWioidcP9GmB7woXwI0j1HTChDhwTumCqoMVnMopFmqWPpPryFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706195666; a=rsa-sha256; cv=none; b=X4YuhYmrJHzn69g9awkxSUFMZJiD6CvoS31GDLWR2kJ2aOtvzOmvPp0V2CO6DnnVFTBL0h hQj97gBFTO64rF9jlnDZ7jvzJDF2NyphkI7BORIkrdODH5SOGJ6mx4sUpMZCWe4M+yICbn N/NHblLw4FHj15sRtt+TfqzlBS513WyPzEHlmWOWrY2Tmf/rxcOVB8yFlp+jZUndMrzs8w iqo/ZAlJACtE85hA7+COVQXuBmgalahcl//srw0YYpfvQQ5UW5KH7Z8m/bN3N5Fd2Gf2E1 MUUQfDa4aBZnFeK8JMinoG6pN/3stNg2v8NJ9U77dxqBoEhoHZ1U/77ghh8SEw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BEE246DEC6 for ; Thu, 25 Jan 2024 16:14:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT1QZ-0001tH-DM; Thu, 25 Jan 2024 10:14:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSgO0-0003ye-CZ for guix-devel@gnu.org; Wed, 24 Jan 2024 11:46:02 -0500 Received: from smtp81.cstnet.cn ([159.226.251.81] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1rSgNx-0005G9-Fo; Wed, 24 Jan 2024 11:46:00 -0500 Received: from m (unknown [183.247.5.137]) by APP-03 (Coremail) with SMTP id rQCowAAXHLitPrFlsfxeCQ--.25432S2; Thu, 25 Jan 2024 00:45:34 +0800 (CST) References: <878r4ia86d.fsf@gmail.com> <87a5ow2nje.fsf@gmail.com> <87cytqzvfd.fsf@gmail.com> User-agent: mu4e 1.10.8; emacs 30.0.50 From: Zheng Junjie To: Maxim Cournoyer Cc: Attila Lendvai , Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-devel@gnu.org Subject: Re: [shepherd] several patches that i deem ready Date: Thu, 25 Jan 2024 00:41:39 +0800 In-reply-to: <87cytqzvfd.fsf@gmail.com> Message-ID: <87cytqwuhe.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain X-CM-TRANSID: rQCowAAXHLitPrFlsfxeCQ--.25432S2 X-Coremail-Antispam: 1UD129KBjvdXoW7Xw1UZry3XF4rGrWxWw4xtFb_yoWkKrX_uF sYyw1kt34UWFZ3tFnFyFZ7WasIgayDZFWDt3y8Xryag3W7XFn5KFZ7Wryayr1DGF1YkFsx urnava1Fya45XjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbrxYjsxI4VWkKwAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z2 80aVCY1x0267AKxVW8JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IE w4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMc vjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxVCF s4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r 1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWU JVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r 1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUv cSsGvfC2KfnxnUUI43ZEXa7IU5PpnJUUUUU== X-Originating-IP: [183.247.5.137] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.81; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 25 Jan 2024 10:14:01 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.16 X-Migadu-Queue-Id: BEE246DEC6 X-Spam-Score: -2.16 X-Migadu-Scanner: mx11.migadu.com X-TUID: 4+S5l/1KdS72 Maxim Cournoyer writes: > Hi Attila, > > Attila Lendvai 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]?