MCPcopy
hub / github.com/css/csso / debugOutput

Function debugOutput

lib/index.js:7–13  ·  view source on GitHub ↗
(name, options, startTime, data)

Source from the content-addressed store, hash-verified

5const { parse, generate, compress } = syntax;
6
7function debugOutput(name, options, startTime, data) {
8 if (options.debug) {
9 console.error(`## ${name} done in %d ms\n`, Date.now() - startTime);
10 }
11
12 return data;
13}
14
15function createDefaultLogger(level) {
16 let lastDebug;

Callers 1

minifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…