MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / log

Function log

lib/output.js:105–110  ·  view source on GitHub ↗

* Print information in --verbose mode * @param {string} msg

(msg)

Source from the content-addressed store, hash-verified

103 * @param {string} msg
104 */
105 log(msg) {
106 const _msg = shouldMaskData() ? maskData(msg, getMaskConfig()) : msg
107 if (outputLevel >= 3) {
108 print(' '.repeat(output.stepShift), styles.log(truncate(` ${_msg}`, output.stepShift)))
109 }
110 },
111
112 /**
113 * Print error

Callers

nothing calls this directly

Calls 6

shouldMaskDataFunction · 0.90
maskDataFunction · 0.90
getMaskConfigFunction · 0.90
truncateFunction · 0.85
logMethod · 0.80
printFunction · 0.70

Tested by

no test coverage detected