summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-02-12 15:00:42 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2019-02-13 15:43:59 +0000
commit613fc4000fa844174c86152d7131087e5a8feb06 (patch)
treeff02021c3f205965dd3aae7453913dea4d441e93
parent8cdc3148adb75e7854e8a1756de6095d8faf1656 (diff)
libcamera: device_enumerator: Fix LOG usage
Add the DeviceEnumerator category to the last LOG() call requiring it. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/libcamera/device_enumerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp
index 703b03dd..5a9d3353 100644
--- a/src/libcamera/device_enumerator.cpp
+++ b/src/libcamera/device_enumerator.cpp
@@ -459,7 +459,8 @@ void DeviceEnumeratorUdev::udevNotify(EventNotifier *notifier)
std::string action(udev_device_get_action(dev));
std::string deviceNode(udev_device_get_devnode(dev));
- LOG(Debug) << action << " device " << udev_device_get_devnode(dev);
+ LOG(DeviceEnumerator, Debug)
+ << action << " device " << udev_device_get_devnode(dev);
if (action == "add") {
addDevice(deviceNode);