From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D91DBC47082 for ; Tue, 8 Jun 2021 21:43:27 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BAA816124B for ; Tue, 8 Jun 2021 21:43:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BAA816124B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2C23A82EAF; Tue, 8 Jun 2021 23:43:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="bozbaKfY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6847682EBB; Tue, 8 Jun 2021 23:43:15 +0200 (CEST) Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7CAE482EA5 for ; Tue, 8 Jun 2021 23:43:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2d.google.com with SMTP id l3so4642538qvl.0 for ; Tue, 08 Jun 2021 14:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=U/2WMDXGbNIwQsxfs6hjt2nPdxvvHu3sR2c9edRuKZM=; b=bozbaKfYCu2lHyQc7cXnshwMk/P63QD6E+Mle1RH8Qaa7FYlD6iF/7ggLfUtII2fNl 24CcgKlii8KInG+IB9Bt39nsS9MccmX2g0UTvffcSO3o8Ax+bzXTlBuioW+XfCB04OfW L8SiwXCU7GELt+rqJxpv0pwq0negA/BYWpgv0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=U/2WMDXGbNIwQsxfs6hjt2nPdxvvHu3sR2c9edRuKZM=; b=cvMZiifo06oN0z+R4USf6TTvVpJJDhCIxUwAkvH+qwGQnVDJFgXPjJi6iM88Q6B8Z9 uycvDvWc2nmglws62WZNG7q7E3KlsYMO9vfltf5BwZGhR+RtpaudooaLXHf7CZAfbsl1 RfuJ8jGgtgR17d/1bg3+R/Kzx+nAxH4DEOdLgbX1TZUDu9KL+meCsIuSo3nbqr1lhHwt aa1rZ4aTSh0EhrCajjoDUj1Leuc5bb6DYKo2xdpHM4lrtVx7Ym9se3uKIKMHMnDuLQSR 85lAMetEgXuucChiQGECiNbjCJ6bQ0MByp06Rw7revOWGSwCzo0cr+1wN7n8B9PR/k5F DHjg== X-Gm-Message-State: AOAM532246dgPRHisZ/ZYWOdW9JjcF+6Bi3Gwc/+WoLTx3JSEkcR6BLG P9BUeilwi659IviZe62KfSkItg== X-Google-Smtp-Source: ABdhPJxjEVpV1G3vF7OdZVp9KIpZZzfvu/gGWqt531xCWlFnezY9cb+dlMA/7Vz7intKLDjY1XB2nA== X-Received: by 2002:a0c:c612:: with SMTP id v18mr2110498qvi.20.1623188591449; Tue, 08 Jun 2021 14:43:11 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-4157-2a7b-ef5c-df25.res6.spectrum.com. [2603:6081:7b01:cbda:4157:2a7b:ef5c:df25]) by smtp.gmail.com with ESMTPSA id l3sm9930810qth.87.2021.06.08.14.43.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Jun 2021 14:43:10 -0700 (PDT) Date: Tue, 8 Jun 2021 17:43:09 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt Subject: Re: [PATCH v4 0/2] log: Allow multiple lines and conversion to printf() Message-ID: <20210608214309.GZ9516@bill-the-cat> References: <20210508194654.1760567-1-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CGcXfQ1PUDCmwDYp" Content-Disposition: inline In-Reply-To: <20210508194654.1760567-1-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean --CGcXfQ1PUDCmwDYp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 08, 2021 at 01:46:52PM -0600, Simon Glass wrote: > At present when logging is not enabled, all log() calls become nops. This > does not seem right, since if the log level is high enough then there > should be some sort of message. So in that case, this series updates it to > print the message if the log level is above LOGL_INFO. >=20 > This mimics the behaviour for the log_...() macros like log_debug() and > log_info(), so we can drop the special case for these. >=20 > Also the current implementation does not support multiple log calls on the > same line nicely. The tags are repeated so the line is very hard to read. > This series adds that as a new feature. For the series, applied to u-boot/next, thanks! --=20 Tom --CGcXfQ1PUDCmwDYp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmC/5GwACgkQFHw5/5Y0 tyyHBwwAmfyux7zYWuq9b7qV5fMKMj5BsvindJrt5vEJ4S12DB9aj3urEi1xzsxk 8LkbEhuxmdU5P9Xv7gLtNgE9ZaQ3N9MGc1T1zjZWQ0xGydD2kBQIGkBLpZI/sTe5 4ObhQxFwUuUhS2m46DwpSe6NQ6baCFfN69k9ClFmz4ttr4TxVsN1eeUj9RfVW6x8 Yq603JNpc+fm1A4dhQiqCqo5NuwfnwTPtnUROYRext3iOS2SOc8pu2Bjdd7KOQ6S Finx+q1y0p7tCHPi/LPYZx9cR2Eux/CQvGPMa4ZQxgnWzIJQBltuXl30DzGTeLVV Q74D1h1TRmbET61UiYXQpw1nrnajM0PhSpU1Ul+ciOGMJ8pwBqpmBRWI15YHVjwu DXpgdu2d2OZ3bjQ1jY7rzYnOrWi1oeTQVTfOJ2hdjswUU+yJjnd6M4rLghW+UzGH +1UzBkSX4satQ2rpC3VDQpiIAwBZs5mI73+3qICZnNQhNDho443Vzk76juagmw27 TBqYb/7b =611p -----END PGP SIGNATURE----- --CGcXfQ1PUDCmwDYp--