summaryrefslogtreecommitdiff
path: root/test/camera-sensor.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-18 03:44:49 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-20 13:35:59 +0200
commit026b3af8c2154ad2670528dc4ca7703ca15a64cc (patch)
treebd078f22df53c23934bcf3b27f0ede3b02b50340 /test/camera-sensor.cpp
parent1d929967b7d5623ec49f0bbed3abe4fea480011e (diff)
libcamera: log: Print the thread ID in the log
The current thread ID is useful when debugging concurrency issues. Print it in log messages. The syslog target is left out as the thread ID would have little use there, and partly duplicates the process ID. The log messages now look as follows. [19:10:33.206560546] [22096] INFO Camera camera_manager.cpp:274 libcamera v0.0.0+993-32696686 Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/camera-sensor.cpp')
0 files changed, 0 insertions, 0 deletions