芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/captains-log/test/fixtures/_record-all.js
/** * Module dependencies */ var _ = require('@sailshq/lodash'); /** * [_recordAll description] * @param {[type]} ctx [description] * @return {[type]} [description] */ module.exports = function _recordAll(ctx) { _.each(ctx.interceptors, function(interceptor, id) { interceptor.capture(function intercept(string, encoding, fd) { ctx.logs[id].push(string); return false; }); }); };