MCPcopy Index your code
hub / github.com/microsoft/SandDance / withGroup

Method withGroup

docs/app/js/sanddance-app.js:58260–58267  ·  view source on GitHub ↗
(logLevel, message, func)

Source from the content-addressed store, hash-verified

58258 return this._getLogFunction(logLevel, "", console.groupEnd || noop);
58259 }
58260 withGroup(logLevel, message, func) {
58261 this.group(logLevel, message)();
58262 try {
58263 func();
58264 } finally{
58265 this.groupEnd(logLevel)();
58266 }
58267 }
58268 trace() {
58269 if (console.trace) console.trace();
58270 }

Callers

nothing calls this directly

Calls 2

groupMethod · 0.95
groupEndMethod · 0.95

Tested by

no test coverage detected