MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / log

Function log

core/cb.addons/require-tools/less/lessc.js:6295–6299  ·  view source on GitHub ↗
(str, level)

Source from the content-addressed store, hash-verified

6293var fileCache = {};
6294
6295function log(str, level) {
6296 if (less.env == 'development' && typeof(console) !== 'undefined' && less.logLevel >= level) {
6297 console.log('less: ' + str);
6298 }
6299}
6300
6301function extractId(href) {
6302 return href.replace(/^[a-z-]+:\/+?[^\/]+/, '' ) // Remove protocol & domain

Callers 5

errorConsoleFunction · 0.85
createCSSFunction · 0.85
getXMLHttpRequestFunction · 0.85
doXHRFunction · 0.85
lessc.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected