[RFC,v1,0/7] libcamera: base: log: Misc. changes
mbox series

Message ID 20250121185044.300816-1-pobrn@protonmail.com
Headers show
Series
  • libcamera: base: log: Misc. changes
Related show

Message

Barnabás Pőcze Jan. 21, 2025, 6:50 p.m. UTC
A collection of misc. changes I made while I was looking
at https://bugs.libcamera.org/show_bug.cgi?id=243 .

Barnabás Pőcze (7):
  libcamera: base: log: Move all fields of `LogMessage`
  libcamera: base: log: Use `std::from_chars()`
  libcamera: base: log: Remove `LogMessage::init()`
  libcamera: base: log: Make `LogCategory::severity_` atomic
  libcamera: base: log: Use `std::string_view` to avoid some copies
  libcamera: base: log: Pass dynamic prefix through
  libcamera: base: log: Protect log categories with lock

 include/libcamera/base/log.h |  18 +--
 src/libcamera/base/log.cpp   | 272 ++++++++++++++++-------------------
 2 files changed, 134 insertions(+), 156 deletions(-)

--
2.48.1