デバッグ用のログポイント追加

This commit is contained in:
ろむねこ 2024-01-17 11:09:33 +09:00
parent 58d6ae17c6
commit 74becab37b
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -160,6 +160,8 @@ public class ScannerManagerActivity extends AppCompatActivity {
documentProcessorFactory.create(documentDetail).addNewPagesToLast(bitmaps);
Toast.makeText(this, "Saved.", Toast.LENGTH_SHORT).show();
lacertaVcsFactory.create(documentDetail.getMeta().getId()).generateRevisionAtCurrent("Initial commit");
lacertaVcsFactory.create(documentDetail.getMeta().getId()).printLog(); // Debug
lacertaVcsFactory.create(documentDetail.getMeta().getId()).printRev(); // Debug
finish();
} catch (Exception e) {
logger.error(TAG, "Error: " + e.getMessage());