jsdoc/plugins/verboseOutput.js
Rob Taylor a378c9f0b9 Removing _config, as it bleeds into global, and I don't like that.
Moved fileBegin and newDoclet back onto the handlers namespace of
exports.
2012-08-08 19:03:40 +01:00

23 lines
663 B
JavaScript

/**
* Adds a verbose output to the console, so that you can see what's happening in your process.
* @module plugins/verboseOutput
* @author Rob Taylor <manix84@gmail.com> - The basic idea
* @author Michael Mathews <micmath@gmail.com> - Wrote the first itteration with me :)
*/
exports.handlers = {
/**
* Logging the file name to the console.
*/
fileBegin: function (data) {
console.log(data.filename);
},
/**
* Logging the doclet object to the console. This will print out a lot of info,
* so I suggest only using it for debugging.
*/
newDoclet: function (data) {
// console.log(data);
}
};