From 8200a03168e386e8561ed75125b2976719deee45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Tue, 16 Jan 2024 12:08:29 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AD=E3=82=B0=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/scanner/ScannerManagerActivity.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java index dc4c1714..f02d1de7 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java @@ -54,17 +54,18 @@ public class ScannerManagerActivity extends AppCompatActivity { }, (errorMessage) -> { // an error happened - Log.v("documentscannerlogs", errorMessage); + logger.error(TAG, "Error: " + errorMessage); + logger.e_code("543a230e-cb9a-47a2-8131-3beecfe1c458"); return null; }, () -> { // user canceled document scan - Log.v("documentscannerlogs", "User canceled document scan"); + logger.debug(TAG, "User canceled document scan"); return null; }, null, null, - 5 + null ); @Override @@ -118,7 +119,7 @@ public class ScannerManagerActivity extends AppCompatActivity { logger.debug(TAG, "resultImages(arg) is empty"); if (this.croppedImages.isEmpty()) { logger.debug(TAG, "this.resultImages is empty"); - logger.error(TAG, "error code: 398f4ca7-06f4-43c4-a153-e2ba5bbdb92b"); // TODO-rca: Loggerに組み込む? + logger.e_code("7cb0584e-74ef-48ec-848a-c4d14e75e15a"); // TODO-rca: なんかする } else { logger.debug(TAG, "this.resultImages is not empty");