diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-06-28 14:27:58 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-08-05 14:11:11 +0100 |
commit | 1e58e324d6a51679f77684d000c2c9f104fad64c (patch) | |
tree | 39a66d7abdb22ce320cb7ba93632daea0e254958 | |
parent | c5b655fe6f93b01de6070b2fe7be93bab0d39058 (diff) |
Log to a local file
This should only be done when isolated, otherwise I expect it will
interfere with libcamera's logging
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r-- | ipu3.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,8 @@ #include <libcamera/base/log.h> +#include <libcamera/logging.h> + #include "libcamera-helpers/mapped_buffer.h" /* IA AIQ Wrapper API */ @@ -89,6 +91,8 @@ int IPAIPU3::init(const IPASettings &settings) { int ret; + logSetFile("/tmp/ipu3ipa.log"); + /* * Temporary mapping of the sensor name to the AIQB data file. * |