feat: add logging for candidate details display function

This commit is contained in:
Ross
2026-01-19 11:31:35 +00:00
parent 803775f462
commit fe1f8dfc1d
+2
View File
@@ -3,6 +3,7 @@ import * as helper from "./helpers.js";
import * as viewer from "./viewer.js"; import * as viewer from "./viewer.js";
import * as interact from "./interact.js"; import * as interact from "./interact.js";
import * as config from "./config.js"; import * as config from "./config.js";
import {logger} from "@cornerstonejs/core/utilities";
// const { v4: uuidv4 } = require('uuid'); // const { v4: uuidv4 } = require('uuid');
log.setDefaultLevel("warn") log.setDefaultLevel("warn")
@@ -110,6 +111,7 @@ let global_username = null;
* Uses `global_cid`/`global_passcode` if set, otherwise falls back to localStorage. * Uses `global_cid`/`global_passcode` if set, otherwise falls back to localStorage.
*/ */
function showCandidateDetails() { function showCandidateDetails() {
logger.debug("Show candidate details");
let cidToShow = global_cid; let cidToShow = global_cid;
let passToShow = global_passcode; let passToShow = global_passcode;