UNPKG

lp-audit

Version:

Adds comprehensive audit trail functionality to Loopback by keeping track of who created/modified/deleted data and when they did it, and adds a revisions model compatible with Sofa/Revisionable for PHP (https://github.com/jarektkaczyk/revisionable)

20 lines (13 loc) 513 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _debug = require('debug'); var _debug2 = _interopRequireDefault(_debug); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = function () { var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auditz'; return (0, _debug2.default)('loopback:mixins:' + name); }; module.exports = exports['default']; //# sourceMappingURL=debug.js.map