MCPcopy Create free account
hub / github.com/microsoft/SandDance / logMethod

Function logMethod

docs/tests/v2/es6/js/sanddance.js:84509–84513  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

84507prototype._getPulse = _run.getPulse; // LOGGING AND ERROR HANDLING
84508
84509function logMethod(method) {
84510 return function () {
84511 return this._log[method].apply(this, arguments);
84512 };
84513}
84514/**
84515 * Get or set the logger instance used to log messages. If no arguments are
84516 * provided, returns the current logger instance. Otherwise, sets the logger

Callers 1

sanddance.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected