From 3dad4e4fac432768730e81b12a11152627d0126c Mon Sep 17 00:00:00 2001 From: houpengfei Date: Mon, 28 Mar 2022 03:57:09 +0000 Subject: [PATCH] Signed-off-by:hhh2 Signed-off-by: houpengfei Change-Id: I192b6a8505a4eccb2c0e9e7aea1fc2d1c7a4e41e --- utils/include/sensors_errors.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/include/sensors_errors.h b/utils/include/sensors_errors.h index f2de7258..28eca4f5 100644 --- a/utils/include/sensors_errors.h +++ b/utils/include/sensors_errors.h @@ -131,7 +131,7 @@ private: #define CHKPL(cond, ...) \ do { \ if ((cond) == nullptr) { \ - SEN_HILOGE("%{public}s, (%{public}d), CHKPL(%{public}s) is null, do nothing", \ + SEN_HILOGW("%{public}s, (%{public}d), CHKPL(%{public}s) is null, do nothing", \ __FILE__, __LINE__, #cond); \ } \ } while (0) @@ -157,7 +157,7 @@ private: #define CHKPC(cond) \ { \ if ((cond) == nullptr) { \ - SEN_HILOGE("%{public}s, (%{public}d), CHKPC(%{public}s) is null, skip then continue", \ + SEN_HILOGW("%{public}s, (%{public}d), CHKPC(%{public}s) is null, skip then continue", \ __FILE__, __LINE__, #cond); \ continue; \ } \ @@ -166,7 +166,7 @@ private: #define CHKPB(cond) \ { \ if ((cond) == nullptr) { \ - SEN_HILOGE("%{public}s, (%{public}d), CHKPC(%{public}s) is null, skip then break", \ + SEN_HILOGW("%{public}s, (%{public}d), CHKPC(%{public}s) is null, skip then break", \ __FILE__, __LINE__, #cond); \ break; \ } \ @@ -202,7 +202,7 @@ private: #define CHKPL(cond) \ do { \ if ((cond) == nullptr) { \ - SEN_HILOGE("CHKPL(%{public}s) is null, do nothing", #cond); \ + SEN_HILOGW("CHKPL(%{public}s) is null, do nothing", #cond); \ } \ } while (0) @@ -225,7 +225,7 @@ private: #define CHKPC(cond) \ { \ if ((cond) == nullptr) { \ - SEN_HILOGE("CHKPC(%{public}s) is null, skip then continue", #cond); \ + SEN_HILOGW("CHKPC(%{public}s) is null, skip then continue", #cond); \ continue; \ } \ } @@ -233,7 +233,7 @@ private: #define CHKPB(cond) \ { \ if ((cond) == nullptr) { \ - SEN_HILOGE("CHKPC(%{public}s) is null, skip then break", #cond); \ + SEN_HILOGW("CHKPC(%{public}s) is null, skip then break", #cond); \ break; \ } \ } -- Gitee