summaryrefslogtreecommitdiff
path: root/include/android/metadata/system/camera_metadata.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-03 19:17:46 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-06 15:09:42 +0300
commit575703894624306950c0540182afc48ba3732f8c (patch)
tree79970d8e30a48c3455cd80399690bb0993b3f610 /include/android/metadata/system/camera_metadata.h
parent7ee7dc3369ebf26d142b6352cb3d309f48600433 (diff)
libcamera: base: log: Add coloring to the log output
Extend the logger to support coloring messages. The log level is colorized with per-level colors, and the category with a fixed color. This makes the log output more readable. Coloring is enabled by default when logging to std::cerr, and can be disabled by setting the LIBCAMERA_LOG_NO_COLOR environment variable. When logging to a file with LIBCAMERA_LOG_FILE, coloring is disabled. It can be enabled for file logging using the logSetFile() function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/android/metadata/system/camera_metadata.h')
0 files changed, 0 insertions, 0 deletions