From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 18 Jan 2021 08:02:35 -0500 Subject: [PATCH 3/5] log: provide missing macros In-Reply-To: <20210104070256.260002-4-xypron.glpk@gmx.de> References: <20210104070256.260002-1-xypron.glpk@gmx.de> <20210104070256.260002-4-xypron.glpk@gmx.de> Message-ID: <20210118130235.GH9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jan 04, 2021 at 08:02:54AM +0100, Heinrich Schuchardt wrote: > With commit d094a0734cee ("log: allow for message continuation") we have > defined a special log level and category for message continuation. Let's > have a macro for using these. > > If logging is enabled log_cont() will create a continuation log output with > the same logging level and category as the previous message. > > If logging is not enabled, log_cont() will print like printf(). > > Provide macros for logging levels LOG_EMERG, LOG_ALERT, LOG_CRIT. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: