From patchwork Mon May 27 00:15:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 1303 Return-Path: Received: from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net [195.74.38.228]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 98A316191C for ; Mon, 27 May 2019 02:16:10 +0200 (CEST) X-Halon-ID: 9f3ccd37-8014-11e9-8ab4-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id 9f3ccd37-8014-11e9-8ab4-005056917a89; Mon, 27 May 2019 02:16:07 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Mon, 27 May 2019 02:15:36 +0200 Message-Id: <20190527001543.13593-11-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190527001543.13593-1-niklas.soderlund@ragnatech.se> References: <20190527001543.13593-1-niklas.soderlund@ragnatech.se> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 10/17] libcamera: stream: Define log object X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2019 00:16:13 -0000 Define a LOG object to prepare for adding code which needs to write to the log. Signed-off-by: Niklas Söderlund Reviewed-by: Kieran Bingham --- src/libcamera/stream.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp index 0c59a31a3a0501d3..eecd37160150d55c 100644 --- a/src/libcamera/stream.cpp +++ b/src/libcamera/stream.cpp @@ -10,6 +10,8 @@ #include #include +#include "log.h" + /** * \file stream.h * \brief Video stream for a Camera @@ -32,6 +34,8 @@ namespace libcamera { +LOG_DEFINE_CATEGORY(Stream) + /** * \struct StreamConfiguration * \brief Configuration parameters for a stream