base-config-process
Version:
Commonly used config mappings for the base-config plugin. Also pre-processes the given object with base-config-schema before calling `.process()`
15 lines (11 loc) • 375 B
JavaScript
;
var util = require('util');
var debug = require('debug');
var field = debug('base:config:process:field');
module.exports = function(prop) {
return debug('base:config:process:' + prop);
};
module.exports.schema = debug('base:config:process');
module.exports.field = function(key, val) {
field('processing ' + key + ', ' + util.inspect(val, null, 10));
};