Skip to content

Commit 7b9ad91

Browse files
authored
Merge pull request #67 from Dynamsoft/_dev
open DCE inner log;
2 parents cf70bdc + 9b0e5fd commit 7b9ad91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

5.others/debug/public/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ <h1 style="font-size: 1.5em;">Read Barcodes from Camera - Debug</h1>
4242
document.getElementById('btn-show-scanner').addEventListener('click', async() => {
4343
try {
4444
let scanner = await (pScanner = pScanner || Dynamsoft.DBR.BarcodeScanner.createInstance());
45+
scanner.dce.constructor._onLog = console.log;
4546
let rs = await scanner.getRuntimeSettings();
4647
rs.timeout = 100000;
4748
await scanner.updateRuntimeSettings(rs);

0 commit comments

Comments
 (0)