MCPcopy Index your code
hub / github.com/garris/BackstopJS / loggerAction

Function loggerAction

core/util/runPuppet.js:47–50  ·  view source on GitHub ↗
(action, color, message, ...rest)

Source from the content-addressed store, hash-verified

45};
46
47function loggerAction (action, color, message, ...rest) {
48 this.logged.push([action, color, message.toString(), JSON.stringify(rest)]);
49 console[action](chalk[color](message), ...rest);
50}
51
52async function processScenarioView (scenario, variantOrScenarioLabelSafe, scenarioLabelSafe, viewport, config, logger) {
53 const { scenarioDefaults = {} } = config;

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected