[libcamera-devel] [PATCH 0/2] libcamera: log: Small improvements

Sebastian Fricke sebastian.fricke at posteo.net
Wed Apr 14 05:37:17 CEST 2021


Hey Laurent,

On 14.04.2021 00:51, Laurent Pinchart wrote:
>Hello,
>
>This small patch series is a drive-by change the improves the logging

s/ the improves/, that improves/

>implementation a little bit.
>
>I was hoping that builtins could give us pretty function names, but
>that's not the case, so I'm not entirely sure that 2/2 is worth it.
>
>Laurent Pinchart (2):
>  libcamera: log: De-duplicate _log() functions and LogMessage
>    constructor
>  libcamera: log: Use compiler builtins to retrieve file and line number
>
> include/libcamera/internal/log.h | 20 ++++-----
> src/libcamera/log.cpp            | 75 +++++---------------------------
> 2 files changed, 20 insertions(+), 75 deletions(-)
>
>-- 
>Regards,
>
>Laurent Pinchart
>
>_______________________________________________
>libcamera-devel mailing list
>libcamera-devel at lists.libcamera.org
>https://lists.libcamera.org/listinfo/libcamera-devel


More information about the libcamera-devel mailing list