openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Patrick Williams <patrick@stwcx.xyz>
To: Andrew Jeffery <andrew@aj.id.au>
Cc: OpenBMC List <openbmc@lists.ozlabs.org>
Subject: Re: `phosphor-logging` APIs (RFC)
Date: Mon, 2 Aug 2021 19:27:47 -0500	[thread overview]
Message-ID: <YQiNg9cxRgNe4sFV@heinlein> (raw)
In-Reply-To: <YQIYE4yH7IcGIrjd@heinlein>

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

On Wed, Jul 28, 2021 at 09:53:07PM -0500, Patrick Williams wrote:
> 
>   error("Hit {ERROR} during {STAGE}.", "ERROR", "bad foobar", "STAGE",
>         "baz-grae", "EXTRA", 123);
> 

I have implemented this formatting handling, since more people seemed to want
it, and also added compile-time confirmation that the keys match
systemd-journald requirements.  Patch sequence is all updated to resolve any
outstanding review comments.

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-08-03  0:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 20:24 `phosphor-logging` APIs (RFC) Patrick Williams
2021-07-28  5:52 ` Andrew Jeffery
2021-07-28  6:25   ` Patrick Williams
2021-07-28 23:34     ` Andrew Jeffery
2021-07-29  2:53       ` Patrick Williams
2021-08-03  0:27         ` Patrick Williams [this message]
2021-08-03  4:07           ` Andrew Jeffery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YQiNg9cxRgNe4sFV@heinlein \
    --to=patrick@stwcx.xyz \
    --cc=andrew@aj.id.au \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).