MCPcopy
hub / github.com/codeceptjs/CodeceptJS / print

Function print

lib/output.js:309–319  ·  view source on GitHub ↗
(...msg)

Source from the content-addressed store, hash-verified

307export default output
308
309function print(...msg) {
310 if (outputProcess) {
311 msg.unshift(outputProcess)
312 }
313 if (!newline) {
314 console.log()
315 newline = true
316 }
317
318 console.log.apply(this, msg)
319}
320
321function truncate(msg, gap = 0) {
322 if (msg.indexOf('\n') > 0 || outputLevel >= 3) {

Callers 15

debugFunction · 0.70
logFunction · 0.70
errorFunction · 0.70
successFunction · 0.70
stepFunction · 0.70
output.jsFile · 0.70
startedFunction · 0.70
passedFunction · 0.70
failedFunction · 0.70
skippedFunction · 0.70
sayFunction · 0.70
resultFunction · 0.70

Calls 1

logMethod · 0.80

Tested by

no test coverage detected