summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-20 04:13:17 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-29 17:21:06 +0300
commite9c53ac4d8db5ae3a45d458f146044beb95f79d4 (patch)
tree3b6b1ca55c6ddd2da26c512a300250e1832c4912 /src/ipa
parent7a5e23585fc1f292da7c127d9c5eb323b28b7f99 (diff)
ipa: libipa: module: Make the Module class Loggable
To help attribute messages logged by the Module class to a particular IPA module, make the class loggable. The logPrefix() function must be implemented by the IPA module-specific derived class. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/libipa/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/libipa/module.h b/src/ipa/libipa/module.h
index addae067..4149a353 100644
--- a/src/ipa/libipa/module.h
+++ b/src/ipa/libipa/module.h
@@ -27,7 +27,7 @@ namespace ipa {
template<typename _Context, typename _FrameContext, typename _Config,
typename _Params, typename _Stats>
-class Module
+class Module : public Loggable
{
public:
using Context = _Context;