diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-20 15:03:01 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-21 21:47:25 +0200 |
commit | 8b8ae521347f293380f471285193aebbb3279f7d (patch) | |
tree | 7ce94b74b19d83b138d251d8ee3bf2c29edc9b18 /src/libcamera/pipeline_handler.cpp | |
parent | 457208178c818a571d77978b5204530ef2c18d51 (diff) |
libcamera: Use log categories
Use log categories in the whole existing code base.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/pipeline_handler.cpp')
-rw-r--r-- | src/libcamera/pipeline_handler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp index f2e08a6a..c24feeaf 100644 --- a/src/libcamera/pipeline_handler.cpp +++ b/src/libcamera/pipeline_handler.cpp @@ -24,6 +24,8 @@ namespace libcamera { +LOG_DEFINE_CATEGORY(Pipeline) + /** * \class PipelineHandler * \brief Create and manage cameras based on a set of media devices @@ -120,7 +122,8 @@ void PipelineHandlerFactory::registerType(PipelineHandlerFactory *factory) factories.push_back(factory); - LOG(Debug) << "Registered pipeline handler \"" << factory->name() << "\""; + LOG(Pipeline, Debug) + << "Registered pipeline handler \"" << factory->name() << "\""; } /** |