[PATCH v1 0/3] libcamera: base: log: Do not instantiate disabled `LogMessage`s
Barnabás Pőcze
barnabas.pocze at ideasonboard.com
Mon Mar 3 18:19:34 CET 2025
2025. 03. 03. 16:48 keltezéssel, Barnabás Pőcze írta:
> *** BLURB HERE ***
Of course I forgot to save it...
The main goal of this series is to avoid the construction of `LogMessage`s
that in the end will not be printed and just discarded.
>
> Barnabás Pőcze (3):
> libcamera: base: log: Take `LogCategory` by reference
> treewide: Remove `libcamera::LOG(...)` occurences
> libcamera: base: log: Do not instantiate disabled `LogMessage`s
>
> include/libcamera/base/log.h | 13 +++++++++----
> src/libcamera/base/log.cpp | 8 ++++----
> src/libcamera/sensor/camera_sensor_raw.cpp | 8 +++++---
> src/libcamera/v4l2_device.cpp | 10 ++++++----
> 4 files changed, 24 insertions(+), 15 deletions(-)
>
> --
> 2.48.1
More information about the libcamera-devel
mailing list