[libcamera-devel,0/2] LogCategory fixing
mbox series

Message ID 20220826113931.59323-1-tomi.valkeinen@ideasonboard.com
Headers show
Series
  • LogCategory fixing
Related show

Message

Tomi Valkeinen Aug. 26, 2022, 11:39 a.m. UTC
Hi,

I hit these log issues with python unittests, which create and destruct
CameraManagers multiple times. Apparently this is not a common thing to
do...

Apparently the logging system has not been created with unloadable
plugin libraries in mind.

 Tomi

Tomi Valkeinen (2):
  libcamera: base: log: Fix use of freed name
  libcamera: base: log: Fix LogCategory creation issues

 include/libcamera/base/log.h | 10 ++++---
 src/libcamera/base/log.cpp   | 53 ++++++++++++++++++++++++++++++------
 2 files changed, 51 insertions(+), 12 deletions(-)