archive mirror
 help / color / mirror / Atom feed
* `phosphor-loggin` APIs
@ 2021-09-02 15:19 Patrick Williams
  0 siblings, 0 replies; only message in thread
From: Patrick Williams @ 2021-09-02 15:19 UTC (permalink / raw)
  To: OpenBMC List

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


I wanted to make sure everyone was aware the that phosphor-logging `lg2` APIs
are now merged.  I've ported a few repositories to use them as samples you can
use for reference:
    - phosphor-virtual-sensor
    - phosphor-bmc-code-mgmt
    - dbus-sensors (in review)

I'd certainly appreciate if people want to help do a conversion on any
repository using the original phosphor-logging API.

These were talked about originally here:

If you are doing conversions, you should find that the logging calls are more
succinct and you should not need additional calls like `string.c_str()` or
`exception.what()`.  The lg2 APIs automatically convert most basic types.  If
you are finding you are having to make data manipulation calls in this
conversion process I'd like to know about it so we can make the API easier for

Catch me on email or Discord with questions.

Patrick Williams

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-02 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 15:19 `phosphor-loggin` APIs Patrick Williams

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).